Skip to main content

from_hex

Function from_hex 

Source
pub fn from_hex(s: &str) -> Result<Hash, FromHexError>
Expand description

Parse a lowercase-or-uppercase 64-char hex string into a Hash. Rejects any non-hex byte.