Members
(constant) blockSize
The hash's block size, in bits.
Methods
finalize() → {bitArray}
Complete hashing and output the hash value.
Returns:
The hash value, an array of 5 big-endian words. TODO
- Type
- bitArray
reset()
Reset the hash state.
Returns:
this
update(data)
Input several words to the hash.
Parameters:
Name | Type | Description |
---|---|---|
data |
bitArray | String | the data to hash. |
Returns:
this
(static) hash(data) → {bitArray}
Hash a string or an array of words.
Parameters:
Name | Type | Description |
---|---|---|
data |
bitArray | String | the data to hash. |
Returns:
The hash value, an array of 5 big-endian words.
- Type
- bitArray