1.2.4 • Published 8 years ago
crkey v1.2.4
Crkey
A simple crypto tool for nodeJs. Need OpenSSL-Crypto support.
###Install
npm install crkey -g
###Usage
const crkey = require('crkey');
// To crypto a file.
crkey.crypto(targetFile,
password,
cryptoMode,
callBack(res));
// To decrypto a file.
crkey.decrypto(targetFile,
password,
cryptoMode,
ifToFile ,
callBack(res));