pub fn hash_hex(data: &[u8], algo: HashAlgorithm, prefix_0x: bool) -> StringExpand description
Computes the hash of the given data using the specified algorithm and
returns the result formatted as a hex string, optionally prefixed with 0x.
pub fn hash_hex(data: &[u8], algo: HashAlgorithm, prefix_0x: bool) -> StringComputes the hash of the given data using the specified algorithm and
returns the result formatted as a hex string, optionally prefixed with 0x.