MD4 class

Implementation of the MD4 (Message Digest 4) hash function.

Implemented types

Constructors

MD4()
The initial constructor for the MD4 class.

Properties

getBlockSize → int
Returns the block size of the MD4 hash algorithm in bytes, which is 64 bytes.
no setteroverride
getDigestLength → int
Returns the length of the MD4 hash digest in bytes, which is 16 bytes.
no setteroverride
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
Clears internal state and buffers, resetting the MD4 hash object to its initial state.
override
cleanSavedState(SH1State savedState) → void
Cleans and securely zeros a saved state object, resetting it to an empty state.
override
digest() → List<int>
Computes the MD4 hash digest and returns it as a List<int>.
override
finish(List<int> out) → Hash
Finalizes the hash computation and stores the result in the provided buffer.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → Hash
Resets the hash to its initial state.
override
restoreState(SH1State savedState) → SerializableHash<HashState>
Restores the state of the MD4 hash computation from a saved state.
override
saveState() → SH1State
Saves the current state of the MD4 hash computation.
override
toString() → String
A string representation of this object.
inherited
update(List<int> data) → Hash
Updates the MD4 hash with the provided input data.
override

Operators

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

Static Methods

hash(List<int> data) → List<int>
Computes the MD4 hash (Message Digest 4) for the given input data.
override