TheRogue76 / react-native-hashing

A hashing library for react native written in c++ with JSI
MIT License
20 stars 1 forks source link
android hashing ios javascript jsi react react-native typescript

React Native Hashing

NPM downloads NPM version License

A hashing library for react native written in C++ and JSI

Installation

npm install react-native-hashing

or

yarn add react-native-hashing

iOS linking:

cd ios
pod install

Usage

import { sha256, md5, sha1, sha3 } from "react-native-hashing";

// ...

const result = sha256('Hello world');

or

const result = md5('Hello world');

or

const result = sha1('Hello world');

or

const result = sha3('Hello world');

Acknowledgements

Big thanks to Stephan Brumme for the C++ implementation of the hashing algorithms. Link to his library

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT