Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-e2ee

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-e2ee

End-to-End Encryption (E2EE) made easy for react-native projects

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

React Native E2E Encryption (WIP)

Handling cryptography easily with JS interfaces.

Description

This projects addresses the purpose of providing a developer friendly JS interface for generating, safely storing and serving cryptographic keys for end-to-end encryption on Android and iOS devices. Of course, the server (or another handy way of distributing data between devices) is needed, but the point of this package is to provide a developer with clients' public key and all the necessary methods to use in end-to-end encrypted communication without forcing him/her to dive into native implementations for generating and storing cryptohgraphic data.

Security

The project encrypts with RSA (Ultimately it'll use hybrid encryption with RSA and AES).

Installation

The package is not yet present on NPM registry.

Usage/API

  • generateKeyPair(): Promise<string> - generates/fetches key pair for fixed alias and returns the public key.
  • getOwnPublicKey(): Promise<string | null> - returns own public key or null if non existing.
  • encryptMessage( message: string, publicKey: string ): Promise<string | null> - encrypts message for the given public key.
  • decryptMessage(message: string): Promise<string | null> - decrypts message using own public key.

Key progress so far

  • Full API coverage for Android

Roadmap

Examine the upcoming changes here.

Contributing

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

License

MIT


Made with create-react-native-library

Keywords

FAQs

Package last updated on 30 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc