Description Usage Arguments Value References
Hash a string with Keccak-256.
1 |
x |
Character. The string to hash. |
truncate |
Logical. Truncate the hash to the first 4 bytes (8 characters)? |
prepend_0x |
Logical. Should the hash be prepended with 0x? Default =
|
Character. The hash of x
, truncated to 8 characters if
truncate
is TRUE
.
Uses a local copy of sha3.min.js (v0.8.0) by Yi-Cyuan Chen. This is licensed under MIT.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.