SHA3
SHA3
Kind: global class
this: {"{"}SHA3{"}"}
new SHA3(olen)
Creates an instance of SHA3
Param | Description |
---|---|
olen | output length |
shA3.init(olen)
Initialise an instance of SHA3
Kind: instance method of SHA3
this: {"{"}SHA3{"}"}
Param | Description |
---|---|
olen | output length |
shA3.process()
Process a byte for SHA3
Kind: instance method of SHA3
this: {"{"}SHA3{"}"}
Byt: byte of date to be processed
shA3.hash(buff)
Create fixed length hash output of SHA3
Kind: instance method of SHA3
this: {"{"}SHA3{"}"}
Param | Description |
---|---|
buff | byte array to store hash |
shA3.shake(buff, olen)
Create variable length hash output of SHA3
Kind: instance method of SHA3
this: {"{"}SHA3{"}"}
Param | Description |
---|---|
buff | byte array to store hash |
olen | length of the hash |