keccak-hash

0.0.4 • Public • Published

node-keccak-hash

keccak hashing function for node.js. Useful for various cryptocurrencies.

Usage

Install

~

Hash your data

var keccak = require('keccak-hash');

var data = new Buffer("hash me good bro");
var hashed = keccak.digest(data); //returns a 32 byte buffer

console.log(hashed);
//<SlowBuffer 0b de 16 ef 2d 92 e4 35 65 c6 6c d8 92 d9 66 b4 3d 65 ..... >

Credits

  • Designers of Keccak hashing algorithm
  • Prydie for the python module this is based off of

Package Sidebar

Install

npm i keccak-hash

Weekly Downloads

1

Version

0.0.4

License

none

Last publish

Collaborators

  • zone117x