HASH512

Kind: global class
this: {HASH512}

new HASH512()

Creates an instance of HASH512

hasH512.init()

Initialise Hash function

Kind: instance method of HASH512
this: {HASH512}

hasH512.process(byt)

Process a single byte

Kind: instance method of HASH512
this: {HASH512}

ParamDescription
bytbyte to be included in hash

hasH512.process_array(b)

Process an array of bytes

Kind: instance method of HASH512
this: {HASH512}

ParamDescription
bbyte arrray to be included in hash

hasH512.process_num(n)

Process a 32-bit integer

Kind: instance method of HASH512
this: {HASH512}

ParamDescription
nInteger to be included in hash

hasH512.hash() ⇒

Generate 32-byte hash

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