title: Encrypt and decrypt a password in Java
body: <p>I want to encrypt and decrypt a password  in Java and store into database in the form of encrypted.
  It will great if it is open source. Any suggestions / pointers ?</p>