Skip to main content

pack_key_from_hex

Function pack_key_from_hex 

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

Parse a PackKey from a 64-char lowercase hex string.

Accepts uppercase too (matches the permissive crate::hash::from_hex semantics); callers that require lowercase MUST validate the input independently.