Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
react-native-e2ee
Advanced tools
End-to-End Encryption (E2EE) made easy for react-native projects
Handling cryptography easily with JS interfaces.
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.
The project encrypts with RSA (Ultimately it'll use hybrid encryption with RSA and AES).
The package is not yet present on NPM registry.
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.Examine the upcoming changes here.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
FAQs
End-to-End Encryption (E2EE) made easy for react-native projects
The npm package react-native-e2ee receives a total of 2 weekly downloads. As such, react-native-e2ee popularity was classified as not popular.
We found that react-native-e2ee demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.