react-native-simple-encryption
react-native-simple-encryption copied to clipboard
Simple XOR and base_64 encryption decryption for react-native
react-native-simple-encryption
Simple XOR and base_64 encryption decryption for react-native
Installation in project
npm install react-native-simple-encryption --save
Demo
iOS
Android
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');