XantreDev / react-native-quick-argon2

🌟 React Native Quick Argon2: Supercharge your React Native app's password hashing with JSI bindings to a blazing-fast native C++ implementation of the Argon2 hashing algorithm. Unleash the full power of Argon2 while maintaining the simplicity of JavaScript. Secure, efficient, and ready to go - give your app the upgrade it deserves! πŸš€

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-quick-argon2

work in progrss, library produces wrong results

For now library is depending on react-native-quick-crypto, because for now it relies on randomBytes for salt generation. In future it will be replaced with native randomBytes implementation. So for now you need to install react-native-quick-crypto as well.

Installation

npm install react-native-quick-argon2
yarn add react-native-quick-argon2

# or https://github.com/antfu/ni
ni react-native-quick-argon2

For iOS also run pod install in /ios folder.

Prerequisites

You must have Android NDK and CMake installed on android to build the library.

Basic usage example

import simpleJsiModule from 'react-native-jsi-template';

simpleJsiModule.helloWorld(); // returns helloworld.

Run the example app for more.

Thanks to these libraries & their authors:

JSI Workflows from react-native-mmkv

The initial work done by authors of the following libraries has helped a lot in writing the blog and keeping this repo updated.

Contributing

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

License

MIT

About

🌟 React Native Quick Argon2: Supercharge your React Native app's password hashing with JSI bindings to a blazing-fast native C++ implementation of the Argon2 hashing algorithm. Unleash the full power of Argon2 while maintaining the simplicity of JavaScript. Secure, efficient, and ready to go - give your app the upgrade it deserves! πŸš€

License:Other


Languages

Language:C++ 44.8%Language:TypeScript 15.7%Language:Java 13.8%Language:Shell 7.7%Language:Ruby 5.8%Language:Objective-C 3.2%Language:Objective-C++ 3.2%Language:CMake 3.2%Language:JavaScript 2.5%