title: encryption program
body: <p>i need some idea for creatin a encryption program can any one help!?
  i need to create the program in java or c++ so need to create a logic for it
  this encryption prog should automatically encrypt the document n should decrypt it only if the givien conditions such as the password are fulfilled ! 
  plz help ! </p>