Blake2bState class

Represents the state of a BLAKE2b hash function.

This class encapsulates the state of a BLAKE2b hash function at a specific point in its operation. It includes the state vector, buffer, buffer length, counters, flags, the indication of whether it represents the last node in a tree, the padded key (if any), and the initial state.

Implemented types

Constructors

Blake2bState({required List<int> state, required List<int> buffer, required int bufferLength, required List<int> ctr, required List<int> flag, required bool lastNode, List<int>? paddedKey, required List<int> initialState})
Creates a new instance of the Blake2bState class with the provided values.

Properties

buffer List<int>
The buffer of the hash function.
getter/setter pair
bufferLength int
The length of data currently stored in the buffer.
getter/setter pair
ctr List<int>
The counter values used by the hash function.
getter/setter pair
flag List<int>
The flags used by the hash function.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialState List<int>
The initial state of the hash function.
getter/setter pair
lastNode bool
Indicates whether the hash function represents the last node in a tree.
getter/setter pair
paddedKey List<int>?
The padded key used by the hash function, if any.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state List<int>
The state vector of the hash function.
getter/setter pair

Methods

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