README
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
});