TheRogue76 / react-native-hashing

A hashing library for react native written in c++ with JSI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A hashing library for react native written in c++ with JSI

License:MIT License


Languages

Language:C++ 85.3%Language:Java 7.0%Language:Objective-C 2.8%Language:JavaScript 1.2%Language:TypeScript 1.0%Language:Ruby 1.0%Language:CMake 0.8%Language:Objective-C++ 0.6%Language:Shell 0.1%Language:C 0.1%Language:Swift 0.0%