Skip to content

BhavanPatel/react-native-simple-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

294d4aa · Sep 25, 2017

History

27 Commits
May 28, 2017
Sep 25, 2017
May 11, 2017
May 28, 2017
Apr 28, 2017

Repository files navigation

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

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