Secure Hash Algorithm
SHA is based on the hash function MD4.
SHA-256 and SHA-384 and SHA-512 are collectively known as SHA-2.
SHA-512 Logic
- Append padding bits
- Append length
- Initialize hash buffer
- Process message in 1024-bit blocks
- Output