Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-25T09:47:28.000Z (about 7 years ago)
- Last Synced: 2024-11-28T23:37:37.007Z (14 days 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
[![NPM version](https://img.shields.io/npm/v/react-native-simple-encryption.svg)](https://www.npmjs.com/package/react-native-simple-encryption)[![GitHub issues](https://img.shields.io/github/issues/BhavanPatel/react-native-simple-encryption.svg)](https://github.com/BhavanPatel/react-native-simple-encryption/issues)
[![GitHub forks](https://img.shields.io/github/forks/BhavanPatel/react-native-simple-encryption.svg)](https://github.com/BhavanPatel/react-native-simple-encryption/network)
[![GitHub stars](https://img.shields.io/github/stars/BhavanPatel/react-native-simple-encryption.svg)](https://github.com/BhavanPatel/react-native-simple-encryption/stargazers)
[![NPM](https://nodei.co/npm/react-native-simple-encryption.png?downloads=true&downloadRank=true&stars=true)](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
![SzEW63](http://i.makeagif.com/media/5-28-2017/SzEW63.gif)###### Android
![Uv9dKl](http://i.makeagif.com/media/5-28-2017/Uv9dKl.gif)### 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');
```