Skip to main content

decode_hex32

Function decode_hex32 

Source
const fn decode_hex32(hex: &[u8; 32]) -> Option<[u8; 16]>
Expand description

Decodes 32 hexadecimal ASCII characters into 16 bytes, returning None if any character is not a valid hexadecimal digit.