Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.53 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.53 KB

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