Password-based block hashes, SHA512.
A bit of code restructuring.