npm.io
4.0.0 • Published 7 years ago

crypto-file

Licence
ISC
Version
4.0.0
Deps
2
Size
3 kB
Vulns
0
Weekly
0

crypto-file

encrypt and decrypt all files, like: pdf, txt, avi, mkv, jpeg, png etc

Installation

npm install --save crypto-file

Encrypt Usage

const cryptoFile = require('crypto-file');

cryptoFile.encrypt('./test.jpg', 'your-awsome-pwd');
Decrypt Usage
const cryptoFile = require('crypto-file');

cryptoFile.decrypt('./test.jpg.enc', 'your-awsome-pwd')