groestl-hash-js
Performs the groestl hash.
Installation
$ npm install --save groestl-hash-js
Usage
var groestl = require('groestl-hash-js');
groestl.groestl512('The great experiment continues.');
groestl.groestl('Groestl is an Austrian dish, usually made of leftover potatoes and pork, cut into slice.');
groestl.groestl_2('Groestl is an Austrian dish, usually made of leftover potatoes and pork, cut into slice.');
API
groestl512(str[,input,output])
str
Type: string
Get the groestl hash (512 bit output) as string
(output 0), a 8 bit array
(output 1), a 32 bit array
(output 2).
groestl(str[,input,output])
str
Type: string
(input 0), 8 bit array
(input 1), 32 bit array
(input 2)
Get the groestl hash (256 bit output) as string
(output 0), a 8 bit array
(output 1), a 32 bit array
(output 2).
groestl_2(str[,input,output])
str
Type: string
(input 0), 8 bit array
(input 1), 32 bit array
(input 2)
Get the groestl hash (256 bit output) as string
(output 0), a 8 bit array
(output 1), a 32 bit array
(output 2).