Skip to main content

hex

Function hex 

Source
pub fn hex(message: &[u8]) -> String
Expand description

The sha256 of these bytes, as sixty four lowercase hex characters.

The same number sha256sum prints for a file holding them, which is the property that makes a digest worth printing at all: whoever is handed one can check it with a tool they already have rather than with ours.