Themis React Native
React Native wrapper for Themis crypto library.
Themis is a convenient cryptographic library for data protection. It provides secure messaging with forward secrecy and secure data storage. Themis is aimed at modern development practices and has a unified API across 12 platforms, including Node.js, WebAssembly, Python, iOS/macOS, and Java/Android.
By Cossack Labs.
Getting started
Installation
npm install --save react-native-themis
cd ios
pod install
Import it into your project:
import {
keyPair64,
symmetricKey64,
secureCellSealWithSymmetricKeyEncrypt64,
secureCellSealWithSymmetricKeyDecrypt64,
secureCellSealWithPassphraseEncrypt64,
secureCellSealWithPassphraseDecrypt64,
secureCellTokenProtectEncrypt64,
secureCellTokenProtectDecrypt64,
secureCellContextImprintEncrypt64,
secureCellContextImprintDecrypt64,
secureMessageSign64,
secureMessageVerify64,
secureMessageEncrypt64,
secureMessageDecrypt64,
string64,
comparatorInit64,
comparatorBegin,
comparatorProceed64,
KEYTYPE_EC,
KEYTYPE_RSA,
COMPARATOR_NOT_READY,
COMPARATOR_NOT_MATCH,
COMPARATOR_MATCH,
COMPARATOR_ERROR
} from 'react-native-themis'
That's it!
Documentation
Read the following resources to learn more:
- How to use Themis with React Native.
- General documentation for Themis library on Cossack Labs Documentation Server.
Licensing
Themis for React Native is distributed under Apache 2.0 license.