SHA3256 class

The SHA3256 class represents a specific implementation of the SHA-3 (Secure Hash Algorithm 3) hash function with a digest length of 256 bits (32 bytes).

Inheritance

Constructors

SHA3256()
Constructor for SHA3256 with a fixed digest length of 256 bits (32 bytes)

Properties

blockSize → int
no setterinherited
getBlockSize → int
block size
no setterinherited
getDigestLength → int
digest length
finalinherited
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(KeccakState savedState) → void
Clean up and reset the saved state of the hash object to its initial state.
inherited
digest() → BuBytes
Generates the final hash digest by assembling and returning the hash state in a List<int>.
inherited
finish(List<int> dst) → SHA3
Finalizes the hash computation and stores the hash state in the provided List<int> dst.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → SHA3
Resets the hash computation to its initial state.
inherited
restoreState(KeccakState savedState) → SHA3
Restores the hash computation state from a previously saved state.
inherited
saveState() → KeccakState
Saves the current hash computation state into a serializable state object.
inherited
toString() → String
A string representation of this object.
inherited
update(List<int> data) → SHA3
Updates the hash computation with the given data.
inherited

Operators

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

Static Methods

hash(List<int> data) → BuBytes
Computes the SHA3/256 hash of the provided data.
override