Socket
Book a DemoInstallSign in
Socket

@virgilsecurity/e3kit-native

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@virgilsecurity/e3kit-native

End-to-end encryption with multiple device support powered by Virgil Security

latest
Source
npmnpm
Version
3.0.6
Version published
Weekly downloads
479
277.17%
Maintainers
3
Weekly downloads
 
Created
Source

Virgil E3Kit SDK for React Native

Virgil E3Kit SDK is also available on other platforms:

  • Browser
  • Node.js

Installation

Install @virgilsecurity/e3kit-native

npm install @virgilsecurity/e3kit-native

Also you need to install several mandatory dependencies that aren't bundled in the package:

Tip: carefully follow the installation guides of each library to avoid problems in future.

Usage

import AsyncStorage from '@react-native-community/async-storage';
import { EThree } from '@virgilsecurity/e3kit-native';

// Promise
EThree.initialize(tokenCallback, { AsyncStorage })
    .then(eThree => {
        // register user, encrypt, decrypt, etc.
    });

// async/await
const eThree = await EThree.initialize(tokenCallback, { AsyncStorage });
// register user, encrypt, decrypt, etc.

You need to explicitly pass AsyncStorage implementation to E3Kit. Otherwise an app will crash.

Further reading

You can find detailed guides on library usage here.

License

This library is released under the 3-clause BSD License.

Support

Our developer support team is here to help you. Find out more information on our Help Center.

You can find us on Twitter or send us email support@VirgilSecurity.com.

Also, get extra help from our support team on Slack.

FAQs

Package last updated on 28 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts