npm.io
0.1.5 • Published 4 years ago

react-native-hashing

Licence
MIT
Version
0.1.5
Deps
0
Size
212 kB
Vulns
0
Weekly
0
Stars
20

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

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

Keywords