
npm install node-dynamic-argon2dCopyright (c) 2016-2019 Duality Blockchain Solutions
What is node-dynamic-argon2d?
-----------------------------
A Node.js module of the Argon2d hashing parameters used in Dynamic (DYN).
Installation Instructions
-------------------------
It is available to install via the Node.js Package Manager (NPM) by using the command:
``$ npm install node-dynamic-argon2d`
or by cloning from Github and installing locally using NPM:
`$ git clone https://github.com/duality-solutions/node-dynamic-argon2d`
`$ cd node-dynamic-argon2d`
`$ npm install`
Usage
-----
to create a raw hash from a string of data
`js``
var argon2d = require('node-dynamic-argon2d');
var buf = Buffer.from("someString", 'utf8');
var hash = argon2d.argon2d(buf);
console.log(hash);
//should return
License
-------
Work licensed under the MIT License. Please check
P-H-C/phc-winner-argon2 for
license over Argon2 and the reference implementation.