pub fn get_hash_from_u8(data: &[u8]) -> Hash
Computes the SHA-256 digest of the byte slice data and returns a Hash from bitcoin_hashes.
bitcoin_hashes