The goal of this library is to provide a wide variety cryptography functionality to React Native at super fast speeds by using a C++ library called Crypto++ under the hood.
npm install react-native-cryptopp
yarn node node_modules/react-native-cryptopp/scripts/download_cryptopp.js
cd ios && pod install
# or
npx pod install
Important:
First time builds will take several minutes as Crypto++ has to be compiled for all CPU architectures. Make sure the android build
and pod install
is NOT running at the same time! More information about the build process can be found here.
import Cryptopp from 'react-native-cryptopp';
const hash = Cryptopp.hashFunctions.SHA1('Hello World');
- Implement remaining functionality
- Use GitHub Actions to pre-compile Crypto++ for iOS and Android
- Async multi-threaded version of each function
- Tests, tests, tests... and more tests!
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Check Crypto++ for additional licensing.