pub fn hash_sha256(data: &[u8]) -> [u8; 32]
Compute the SHA-256 hash of the given data. Returns 32 bytes.