vertcoinhash

1.0.0 • Public • Published

vertcoinhash

Vertcoinhash is a Node.js native module for Vertcoin proof of work functions. It provides methods for Lyra2RE, Lyra2REv2 and Scrypt-N(2048).

Usage

var vertcoinhash = require('vertcoinhash');

var buf = Buffer.from('700000005d385ba114d079971b29a9418fd0549e7d68a95c7f168621a314201000000000578586d149fd07b22f3a8a347c516de7052f034d2b76ff68e0d6ecff9b77a45489e3fd511732011df0731000', 'hex');

console.log(vertcoinhash.SumLyra2REv2(buf));
console.log(vertcoinhash.SumLyra2RE(buf));
console.log(vertcoinhash.SumScryptN(buf));

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i vertcoinhash

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • vertcoin