Skip to main content

decode_hex_32

Function decode_hex_32 

Source
pub fn decode_hex_32(hex_str: &str) -> Option<[u8; 32]>
Expand description

Decodes a 64-character ASCII hex digest directly onto the stack using a branchless 256-entry LUT.

§Arguments

  • &str - 64-character hex string.

§Returns

  • Option<[u8; 32]> - Decoded 32-byte digest.