This is Sofa420's Typepad Profile.
Join Typepad and start following Sofa420's activity
Join Now!
Already a member? Sign In
Sofa420
Recent Activity
I usually use this function for password generation. var generatePassword = function(username, password){ var passwordData = {} passwordData.salt = hash(hash(username) + (new Date()).valueOf()) passwordData.password = hash(passwordData.salt + hash(password)) return passwordData } Yes, 4 hashes may be overdoing it. But this way even if they find a collision for the hashed password, chances that they'll actually find the plaintext version are slim.
Toggle Commented Apr 6, 2012 on Speed Hashing at Coding Horror
Sofa420 is now following The Typepad Team
Apr 6, 2012