Function fr32::bytes_into_fr [−][src]
pub fn bytes_into_fr(bytes: &[u8]) -> Result<Fr>
Expand description
Takes a slice of bytes and returns an Fr if byte slice is exactly 32 bytes and does not overflow. Otherwise, returns a BadFrBytesError.