muscleman / verushash-node

VerusHash implementation for node.js to be used with z-nomp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

verushash-node

Implementation of the VerushHash V1, V2, V2.1, V2.2 hash algorithm as a node.js module

For testing purposes:

sudo apt install libsodium-dev
git clone https://github.com/veruscoin/verushash-node
cd verushash-node
npm install
node test.js

Example test.js output:

'VerusHash1   Output' '2cd709e6569bd706f14a09e62042ddccfa63bd3725b21f35a8c98adbf4151184'
'VerusHash2   Output' '55cec43b110570481f6d565c3a8bb6ed174956494aeebf4c264283791dbd3ded'
'VerusHash2b  Output' 'f971af1d4e551e9e71d35c6266fc19a98c6ad0388be1e9979f66921e07b5c9ac'
'VerusHash2b1 Output' '0ef8b9530ce44a7ffb9b520daf8fcf59d1d22dd1bfa1a26ef4351d51e37071b7'

About

VerusHash implementation for node.js to be used with z-nomp

License:Other


Languages

Language:C++ 79.2%Language:C 19.2%Language:Python 0.9%Language:JavaScript 0.7%