Hash class abstract

The Hash abstract class defines the basic operations for hash algorithms.

It serves as the base for hash algorithms, defining methods and properties required for common hash processing.

Implementers

Constructors

Hash()

Properties

getBlockSize int
The block size used by the hash algorithm.
no setter
getDigestLength int
The length of the digest produced by the hash algorithm.
no setter
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
Cleans sensitive data in the hash instance.
digest() List<int>
Retrieves the hash digest.
finish(List<int> out) Hash
Finalizes the hash computation and stores the result in the provided out buffer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() Hash
Resets the hash to its initial state.
toString() String
A string representation of this object.
inherited
update(List<int> data) Hash
Updates the hash with the provided data.

Operators

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