Hasher32be
Extends:
src/hasher/hasher.js~Hasher → Hasher32be
Hasher for 32 bit big endian blocks
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) |
Member Summary
Public Members | ||
public |
unitOrder: number Reverse order of bytes |
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 |
|
Public Members
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[] |