Function fr32::bytes_into_fr_repr_safe

source ยท
pub fn bytes_into_fr_repr_safe(le_bytes: &[u8]) -> <Scalar as PrimeField>::Repr
Expand description

Converts a slice of 32 bytes (little-endian, non-Montgomery form) into an Fr::Repr by zeroing the most signficant two bits of le_bytes.