I am creating an application which stores multiple passwords of a user. First user has to provide his/her user-name plus password, and after successful login he’ll be given all his saved passwords.
I am using md5 encryption method. I’ve successfully integrated md5 in my log-in module. But the problem is, how can I encrypt the stored passwords (in a file), as there is no legal way to decrypt md5 hash. Please suggest an algo.
Any help would be greatly appreciated!
You would want to use a symmetric encryption algorithm like AES, or 3DES. MD5 is not encryption, it’s hashing, and the original password is not actually preserved.