Sponge<F extends PastaFieldElement<F>> class
Constructors
-
Sponge({required F initialCapacityElement, required PoseidonSpec<F> state})
-
factory
Methods
-
absorb(F value)
→ void
-
Absorb an element into the sponge
-
finishAbsorbing()
→ void
-
Finish absorbing and transition to squeezing
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
squeeze()
→ F
-
Squeeze an element from the sponge
-
toString()
→ String
-
A string representation of this object.
inherited