Skip to main content

parse_nonce

Function parse_nonce 

Source
pub fn parse_nonce(hex_str: &str) -> Result<Nonce, String>
Expand description

Utility function to parse a nonce (i.e. a blake2b-256 hash digest) from an hex-encoded string.