Simple XOR and base_64 encryption decryption for react-native
npm install react-native-simple-encryption --save
...
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');