https://github.com/BhavanPatel/react-native-simple-encryption
Simple XOR and base_64 encryption decryption for react-native
https://github.com/BhavanPatel/react-native-simple-encryption
Last synced: 7 months ago
JSON representation
Simple XOR and base_64 encryption decryption for react-native
- Host: GitHub
- URL: https://github.com/BhavanPatel/react-native-simple-encryption
- Owner: BhavanPatel
- Created: 2017-04-24T09:16:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-25T09:47:28.000Z (over 7 years ago)
- Last Synced: 2024-11-28T23:37:37.007Z (7 months ago)
- Language: Objective-C
- Size: 98.6 KB
- Stars: 25
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-react-native - react-native-simple-encryption ★14 - Simple XOR and base_64 encryption decryption for react-native (Components / Utils & Infra)
- awesome-react-native - react-native-simple-encryption ★14 - Simple XOR and base_64 encryption decryption for react-native (Components / Utils & Infra)
- awesome-react-native - react-native-simple-encryption ★14 - Simple XOR and base_64 encryption decryption for react-native (Components / Utils & Infra)
- awesome-react-native - react-native-simple-encryption ★14 - Simple XOR and base_64 encryption decryption for react-native (Components / Utils & Infra)
README
# react-native-simple-encryption
[](https://www.npmjs.com/package/react-native-simple-encryption)[](https://github.com/BhavanPatel/react-native-simple-encryption/issues)
[](https://github.com/BhavanPatel/react-native-simple-encryption/network)
[](https://github.com/BhavanPatel/react-native-simple-encryption/stargazers)
[](https://nodei.co/npm/react-native-simple-encryption/)
Simple XOR and base_64 encryption decryption for react-native
### Installation in project
```bash
npm install react-native-simple-encryption --save
```
### Demo
###### iOS
###### Android
### Example
##### [example here](https://github.com/BhavanPatel/react-native-simple-encryption/tree/master/Example)### Sample usage
```javascript
...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');
```