pub fn hash_bytes(data: &[u8]) -> Result<Hash>
Hash the data using sha256.
This does not pad or check if the data is word aligned.