spin_common::sha256

Function hex_digest_from_bytes

Source
pub fn hex_digest_from_bytes(bytes: impl AsRef<[u8]>) -> String
Expand description

Return the hex SHA-256 digest of the given bytes.