Simple XOR and base_64 encryption decryption for react-native
Switch branches/tags
Nothing to show
Clone or download
Latest commit 294d4aa Sep 25, 2017

README.md

react-native-simple-encryption

NPM version

GitHub issues

GitHub forks

GitHub stars

NPM

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');