react-native-simple-encryption

1.2.1 • Public • Published

react-native-simple-encryption

NPM version

Simple XOR and base_64 encryption decryption for react-native

Installation in project

npm install react-native-simple-encryption --save

Demo

iOS

SzEW63

Android

Uv9dKl

Example

example here

Sample usage

...
 
import { encrypt, decrypt } from 'react-native-simple-encryption';
 
...
 
// encrypt('key','data_to_be_encrypt');
encrypt('key123', 'Hello World');
 
...
 
// decrypt('key','encrypted_data');
decrypt('key123', 'IwAVXV0TPAoLXVYS');

Package Sidebar

Install

npm i react-native-simple-encryption

Weekly Downloads

458

Version

1.2.1

License

MIT

Last publish

Collaborators

  • bhavanpatel