RIPEMD128 class

A class representing the RIPEMD-128 hash algorithm, extending the _RIPEMD base class.

The RIPEMD-128 hash produces a 128-bit (16-byte) hash digest.

Implemented types

Constructors

RIPEMD128()
Initializes an instance of the RIPEMD-128 hash with a state length of 4.

Properties

getBlockSize int
The block size used by the hash algorithm.
no setterinherited
getDigestLength int
The length of the digest produced by the hash algorithm.
no setterinherited
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(SH1State savedState) → void
  • savedState: The hash state to be cleaned and reset.
  • inherited
    digest() List<int>
    Generates the final hash digest by assembling and returning the hash state.`.
    inherited
    finish(List<int> out) RIPEMD128
    Finalizes the hash computation and stores the hash state in the provided out.
    inherited
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    reset() RIPEMD128
    Resets the hash computation to its initial state.
    inherited
    restoreState(SH1State savedState) SerializableHash<HashState>
    Restores the hash computation state from a previously saved state.
    inherited
    saveState() SH1State
    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) RIPEMD128
    Updates the hash computation with the given data.
    inherited

    Operators

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

    Static Methods

    hash(List<int> data) List<int>
    Computes the RIPEMD-128 hash of the provided data.
    override