Keccack class

Constructors

Keccack([int digestLength = 32])

Properties

blockSize int
block size
latefinalinherited
digestLength int
digest length
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clean() → void
Clean up the internal state and reset hash object to its initial state.
inherited
cleanSavedState(List<int> savedState) → void
savedState: The hash state to be cleaned and reset.
digest() List<int>
Generates the final hash digest by assembling and returning the hash state in a List<int>.
finish(List<int> dst) Keccack
Finalizes the hash computation and stores the hash state in the provided dst.
keccackF1600(List<int> src) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() Keccack
Resets the hash computation to its initial state.
restoreState(List<int> savedState) Keccack
Restores the hash computation state from a previously saved state.
saveState() List<int>
Saves the current hash computation state into a serializable state object.
toString() String
A string representation of this object.
inherited
update(List<int> data) Keccack
Updates the hash computation with the given data.

Operators

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

Static Methods

hash(List<int> data, [int digestLength = 32]) List<int>
Computes the Keccack hash of the provided data.
override