react-native-themis
TypeScript icon, indicating that this package has built-in type declarations

0.15.2 • Public • Published

Themis React Native

![npm][npm-badge] JsThemis License

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:

Licensing

Themis for React Native is distributed under Apache 2.0 license.

Package Sidebar

Install

npm i react-native-themis

Weekly Downloads

720

Version

0.15.2

License

Apache-2.0

Unpacked Size

19.3 MB

Total Files

107

Last publish

Collaborators

  • cossacklabs