rearrage SHA-512 stuff to make it better.
Update SHA-256 versions.