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}

ParamDescription
bytbyte to be included in hash

hasH256.process_array(b)

Process an array of bytes

Kind: instance method of HASH256
this: {HASH256}

ParamDescription
bbyte arrray to be included in hash

hasH256.process_num(n)

Process a 32-bit integer

Kind: instance method of HASH256
this: {HASH256}

ParamDescription
nInteger to be included in hash

hasH256.hash() ⇒

Generate 32-byte hash

Kind: instance method of HASH256
Returns: digest 32-byte hash
this: {HASH256}