1.0.1 • Published 12 months ago

react-native-cincocrypt v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
12 months ago

react-native-cincocrypt

Getting started

$ npm install react-native-cincocrypt --save

Mostly automatic installation

$ react-native link react-native-cincocrypt

Usage

import Cincocrypt from 'react-native-cincocrypt';

// TODO: What to do with the module?
// must include in the option; the startAt(Unicode) and the endAT(Unicode)

Encryption Method

CincoCrypt.encrypt({
            plaintext: 'input here',
            keyword: 'your key',
            startAt: '0',
            endAt: '100'
        },(response)=>{
        	//do here
   		}
});

Decryption Method

 CincoCrypt.decrypt({
            ciphertext: 'cipherText',
            keyword: 'supposed key',
            startAt: '0',
            endAt: '100'
            },(response)=>{
                //do here
            });