HASH256
HASH256
Kind: global class
this: {"{"}HASH256{"}"}
new HASH256()
Creates an instance of HASH256
hasH256.init()
Initialise Hash function
Kind: instance method of HASH256
this: {"{"}HASH256{"}"}
hasH256.process(byt)
Process a single byte
Kind: instance method of HASH256
this: {"{"}HASH256{"}"}
Param | Description |
---|---|
byt | byte to be included in hash |
hasH256.process_array(b)
Process an array of bytes
Kind: instance method of HASH256
this: {"{"}HASH256{"}"}
Param | Description |
---|---|
b | byte arrray to be included in hash |
hasH256.process_num(n)
Process a 32-bit integer
Kind: instance method of HASH256
this: {"{"}HASH256{"}"}
Param | Description |
---|---|
n | Integer to be included in hash |
hasH256.hash() ⇒
Generate 32-byte hash
Kind: instance method of HASH256
Returns: digest 32-byte hash
this: {"{"}HASH256{"}"}