Methods
finalize() → {bitArray}
Complete hashing and output the hash value.
- Source:
Returns:
The hash value, an array of 5 big-endian words.
- Type
- bitArray
reset()
Reset the hash state.
- Source:
Returns:
this
update(data)
Reset the hash state.
Parameters:
Name | Type | Description |
---|---|---|
data |
bitArray | String | the data to hash. |
- Source:
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. |
- Source:
Returns:
The hash value, an array of 5 big-endian words.
- Type
- bitArray