Skip to main content

sha256_hex

Function sha256_hex 

Source
pub fn sha256_hex(bytes: &[u8]) -> String
Expand description

Lowercase hexadecimal SHA-256 digest of exactly these bytes.

The digest type carries no LowerHex impl, so every producer of a contract sha256 field goes through this one formatter rather than re-deriving the encoding.