Miscellaneous

caver.klay.sha3(data[, callback])

Returns the Keccak-256 hash (not the standardized SHA3-256) of the given data.

Parameters

Return Value

Promise returns String - The SHA3 result of the given data.

Example

> caver.klay.sha3("0x11223344").then(console.log);
0x36712aa4d0dd2f64a9ae6ac09555133a157c74ddf7c079a70c33e8b4bf70dd73

Last updated