Skip to main content

encode_hex_32

Function encode_hex_32 

Source
pub fn encode_hex_32(bytes: &[u8; 32]) -> String
Expand description

Encodes a 32-byte digest into a 64-character lowercase hexadecimal string using a 2-byte pair LUT.

§Arguments

  • &[u8; 32] - 256-bit digest.

§Returns

  • String - 64-character lowercase hex string.