TMP: better, but a little bit not working for Sha2-512.
Optimized, working implementation of Sha512.