folder-encrypt
Simple module that helps you encrypt & decrypt folder/file with password.
Installation
npm i folder-encrypt
Usage
Both methods (encrypt
, decrypt
) of folder-encrypt use Promise, and it will automatically detect whether this path is a file or directory.
Folder/File Encryption
; folderEncrypt;
Stream as Output
;;; const outputs = fs fs writeStream = { for let i = outputslength; i--; outputsi; ; }; folderEncrypt;
Folder/File Decryption
folderEncrypt;