pub fn sha256(payload: &[u8]) -> [u8; 32]
SHA2 256
Note the function panics when payload is larger than 2^32 bytes.
payload