Skip to content

micihs/React-Native-Hashing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Native-Hashing

A Custom Pure Javascript Hashing library to implement SHA1, SHA2, SHA3, md5 and Ripemd160.

Installation

  • Node.js
  • npm (node.js package manager)
npm install RN-hashing

Usage

Each 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.

list of Modules / Hashing Algorithms.


  • RN-hashing/sha1
  • RN-hashing/sha224
  • RN-hashing/sha256
  • RN-hashing/sha384
  • RN-hashing/sha512
  • RN-hashing/md5
  • RN-hashing/Ripemd160
  • RN-hashing/md5

About

A Custom Pure Javascript Hashing library to implement SHA1, SHA2, SHA3, md5, Hmac and Ripemd160.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published