Skip to main content

hex_to_limbs

Function hex_to_limbs 

Source
pub fn hex_to_limbs<const LIMBS: usize>(hex: &str) -> [u64; LIMBS]
Expand description

Decode a hex string into a [u64; LIMBS] (used for p and n). Big-endian hex; pads with leading zeros if shorter than LIMBS*8 bytes.