Crate fr32[−][src]
Structs
An io::Reader
that converts unpadded input into valid Fr32
padded output.
Enums
Functions
Takes a slice of bytes and returns an Fr if byte slice is exactly 32 bytes and does not overflow. Otherwise, returns a BadFrBytesError.
Bytes is little-endian.
Takes an Fr and returns a vector of exactly 32 bytes guaranteed to contain a valid Fr.
Padding process.