crypto-file
v4.0.0
Published
encrypt and decrypt files
Downloads
8
Readme
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')