crkey

1.2.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i crkey

Weekly Downloads

0

Version

1.2.4

License

MIT

Last publish

Collaborators

  • kingcc