I am looking for some help/recommendations on the best way to encrypt/decrypt passwords in my ColdFusion/MySQL app. Should I use MD5, SHA, BCrypt? Should I do the encryption directly in MySQL or use ColdFusion to handle it?
Just looking for some help with this and some examples to get me going.
Security is pretty important with this app because we will be storing sensitive information.
Any help would be great.
Thanks in advance.
SHA-256 or higher with salt, or BCrypt.
I’d do it in CF layer ’cause the code will be source controlled.
http://blog.mxunit.org/2011/02/hashing-passwords-with-bcrypt-in.html
http://www.12robots.com/index.cfm/2008/5/21/Salting-Passwords-Security-Series-4.3