Hasher32le
Extends:
src/hasher/hasher.js~Hasher → Hasher32le
Hasher for 32 bit little endian blocks
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: Object) |
|
Member Summary
| Private Members | ||
| private |
blockUnits: number[] Current block (only for speed optimization) |
|
Method Summary
| Protected Methods | ||
| protected |
Add to message cumulative size of message in bits |
|
| protected |
getStateHash(size: number): string Get hash from state |
|
| protected |
process() Process ready blocks |
|
| protected |
processBlock(M: number[]) Process ready blocks |
|
Public Constructors
public constructor(options: Object) source
Params:
| Name | Type | Attribute | Description |
| options | Object |
|
Private Members
Protected Methods
protected getStateHash(size: number): string source
Get hash from state
Params:
| Name | Type | Attribute | Description |
| size | number |
|
Limit hash size (in chunks) |
Return:
| string |
protected processBlock(M: number[]) source
Process ready blocks
Params:
| Name | Type | Attribute | Description |
| M | number[] |
