Skip to main content

hex_to_fe

Function hex_to_fe 

Source
pub fn hex_to_fe<const LIMBS: usize>(hex: &str) -> FieldElement<LIMBS>
Expand description

Decode a hex string into a FieldElement<LIMBS>. The hex is interpreted as big-endian and must contain an even number of hex digits.