🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/BhavanPatel/react-native-simple-encryption

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/BhavanPatel/react-native-simple-encryption

v0.0.0-20170925094727-294d4aaffc1f
Version published
Created

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

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

FAQs

Package last updated on 25 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts