web3_sha3
Returns sha3 of the given data
1
web3.sha3(SHA3hash)
Copied!
Parameters
the data to convert into a SHA3 hash
Returns
The SHA3 result of the given string
Example
1
const sha3 = web3.sha3("0x68656c6c6f20776f726c64");
2
console.log(sha3)
3
> 0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad
Copied!
Copy link