react-native-simple-encryption

Simple XOR and base_64 encryption decryption for react-native

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-native-simple-encryption
2431.2.16 years ago6 years agoMinified + gzip package size for react-native-simple-encryption in KB

Readme

react-native-simple-encryption
NPM version
Simple XOR and base64 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');