Grain<F extends PastaFieldElement<F>> class

Constructors

Grain({required SboxType sbox, required int t, required int rF, required int rP, required F fromBytes(List<int> bytes), int length = 80})
Equivalent to the Rust constructor new(...)
factory

Properties

fromBytes → F Function(List<int>)
final
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
nextBit int
no setter
numBits int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state List<bool>
no setter

Methods

nextFieldElement() → F
nextFieldElementWithoutRejection() → F
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited