Skip to main content

lowercase_hex

Function lowercase_hex 

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

Lowercase hexadecimal rendering of a digest.

Written out rather than pulled from a formatting helper so the wire form of a content hash is decided in one place and cannot acquire a 0x, an uppercase run, or a separator from a dependency’s default.