0.0.4 • Published 10 years ago

keccak-hash v0.0.4

Weekly downloads
14
License
-
Repository
github
Last release
10 years ago

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