1.0.0 • Published 1 year ago

encrypt-file-buffer v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

encrypt-file-buffer

encrypt and decrypt a file.

START

Install encrypt-file-buffer:

npm install encrypt-file-buffer -g

Usage:

encrypt-file-buffer [options] <file>

options

  • -p, --password <password>: password
  • -e, --encrypt: encrypt
  • -d, --decrypt: decrypt
  • -a, --algorithm <algorithm>: algorithm, such as "aes-256-ctr"
  • -o, --output <output>: output file

library

Test

encrypt

npm run test:encrypt:

decrypt

npm run test:decrypt: