Encrypt and decrypt a password in Java
<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>

<p>Thanks,
Amitm</p>
