A Custom Pure Javascript Hashing library to implement SHA1, SHA2, SHA3, md5 and Ripemd160.
- Node.js
- npm (node.js package manager)
npm install RN-hashingEach Hahing algorithm is designed to operate on the same function call model. HashingFunction(stringData);
ES6 import for typical API calls:
import sha256 from 'RN-hashing/sha256';
import Ripemd160 from 'RN-hashing/ripemd160':
const message, nonce, path, privateKey; // ...
const hashDigest = sha256(nonce + message);Each hashing Function call emulates the template above.
RN-hashing/sha1RN-hashing/sha224RN-hashing/sha256RN-hashing/sha384RN-hashing/sha512RN-hashing/md5RN-hashing/Ripemd160RN-hashing/md5