A hashing library for react native written in C++ and JSI
npm install react-native-hashing
or
yarn add react-native-hashing
cd ios
pod install
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');
Big thanks to Stephan Brumme for the C++ implementation of the hashing algorithms. Link to his library
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT