Crate ff

Source
Expand description

This crate provides traits for working with finite fields.

Modules§

helpers
Helper methods for implementing the ff traits.

Structs§

BatchInverter
A non-allocating batch inverter.

Traits§

BitViewSizedbits
Helper trait for scalars and arrays, but not slices.
Field
This trait represents an element of a field.
FromUniformBytes
Trait for constructing a PrimeField element from a fixed-length uniform byte array.
PrimeField
This represents an element of a non-binary prime field.
PrimeFieldBitsbits
This represents the bits of an element of a prime field.
WithSmallOrderMulGroup
The subset of prime-order fields such that (modulus - 1) is divisible by N.

Type Aliases§

FieldBitsbits
Bit representation of a field element.