pub fn bytes_to_prime_field_element_be<F>(
input: &[u8],
) -> Result<F, PoseidonError>where
F: PrimeField,
Expand description
Converts a slice of
big
-endian bytes into a prime field element, represented by the ark_ff::PrimeField
trait.
pub fn bytes_to_prime_field_element_be<F>(
input: &[u8],
) -> Result<F, PoseidonError>where
F: PrimeField,
Converts a slice of
big
-endian bytes into a prime field element, represented by the ark_ff::PrimeField
trait.