1.0.6 • Published 3 years ago

keccak256 v1.0.6

Weekly downloads
20,138
License
MIT
Repository
github
Last release
3 years ago

keccak256

A wrapper for the keccak library to compute 256 bit keccak hash in JavaScript.

License Build Status

js-standard-style

Install

npm install keccak256

CDN

Available on jsDelivr CDN:

<script src="https://cdn.jsdelivr.net/npm/keccak256@latest/keccak256.js"></script>

Usage

  • keccak256(data) -> {Buffer}

    • {String | Buffer} data - data string or Buffer

    Returns a Buffer

Getting Started

const keccak256 = require('keccak256')

console.log(keccak256('hello').toString('hex')) // "1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"

console.log(keccak256(Buffer.from('hello')).toString('hex')) // "1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"

Test

npm test

License

MIT

@jdutchak/argosidcoingateway-address-util@billyjacoby/injective-derivative-ordersprops-sdk@inv3rse/react-sdkfeirmjs@everything-registry/sub-chunk-2009@d-protocol/d-libnftls@satellite-earth/utils@kuzirashi/test-providerwoollyhatwolkjsweb3-vitexaas-bbbxaas-sdkxaas-sdk-newxaaaasx22-sdkwtf-solxiaolong-dbchain-clientshawnlu96-injective-sdk-tstellor-jsstack-packersdk-1111sdk-1111111sdk-22senswapjsrent-marketverus_bridgekeepervoluptasnamaptify-sdkodyssey-sdkmimcjsmez-sdkmerkletreejs-climerkle-badgesmerkle-whitelistmerklecreatormerklescriptmerkletree-kotardmetastaq-storefront-sdkmeta-encryptormint-site-merklellllllluc-forked-feather.jshang-sdkjoinchain-accountjoinchain-jsjs-bitxhub-client-baasjs-bitxhub-clientillumainvitelistitaquemaximelorenzo-sdklp-bonds-sdkmelodic-merkle-treesmuffin-sdkmuffin-utilskafirchain-tetrishardhat-boilerplatehashflowtokenhashgraph-name-resolution-sdkhfthadeswap-sdkhadeswap-sdk-publichadespin-sdkhadespin-sdk-testhagamefi-databaseh-ethereum-merkletreehomo_numbergm2packagecontractsmultisig-wallet-sdkmultisig-wallet-sdk-v2muta-dronemakoto-arb-resolver-contractsmanxifest-sdk-ablumen-cms-web3package-with-semantic-versionproofchain-libraryodyssey-clinamicornnoir-zidennostrumnonrchain-toolkitrationeanimirecheck-clientjs-libraryquasiiustoquiamolestiasref-orderly-testref-orderly-trading-view-testrerumaccusantiumrendezvous-clientsurviving-the-bearsimple-tron-hd-walletsompop-bundlr-networksolvent-coreufogees-sdkufomarketplace-sdkufomarketplace-sdk-newufosupergalatic-sdk
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

6 years ago

0.0.1

6 years ago