My application connects to the database by reading passwords from a property file. Can you suggest a suitable algorithm for encrypting these passwords?
EDIT: I went through a bunch of documents on nist.gov and realized that AES 128 and SHA 256 are compliant. Now, I am considering PBEWITHSHA256AND128BITAES-CBC-BC as the encryption method. Is this method FIPS compliant?
PS: I just want to encrypt the property values, not the whole file.