I was wondering if I could reasons or links to resources explaining why SHA512 is a superior hashing algorithm to MD5.
I'm trying to make a python function and a nodejs function compute the same hash. However, it seems like the binary that is outputted is different between nodejs crypto and python hashlib.
The python I'm using is:
hash = hashlib.sha512()hash.update(salt)hash.update(password.encode('utf8'))hash.digest()
The node/coffeescript is:
crypto.createHash('sha512').update(salt, 'binary').update(password, 'utf8').digest()
These lines should produce the same result, but for some reason they don't. Help?
What is this function: CryptoJS.HmacSHA512
I am currently using SHA256 with a salt to hash my passwords. Is it better to continue using SHA256 or should I change to SHA512?
Intel processors allow to calculate SHA512 faster because of SIMD optimizations they have. I want to take advantage of it in Ruby. However, implementation of SHA512 doesn't use SIMD https://github.com/ruby/ruby/blob/trunk/ext/digest/sha2/sha2.c does it?
Is there any way to unitize SIMD optimizations for calculating SHA512 in Ruby?