@ericsantos/crypt-file
v1.2.4
Published
Encrypt and decrypt files using AES-256.
Downloads
89
Readme
crypt-file
Description
Encrypt and decrypt files using AES-256.
Installation
npm install -g @ericsantos/crypt-file
Usage
Usage: crypt-file <command>
where is one of:
encrypt, decrypt
How to use
Examples how to use commands.
encrypt
crypt-file encrypt --in filetobeencrypted.txt --out fileencrypted --key-file yourprivatekey.txt
or
crypt-file encrypt --in filetobeencrypted.txt --out fileencrypted --key yourkeywritedhere
decrypt
crypt-file decrypt --in filetobedecrypted --out filedecrypted.txt --key-file yourprivatekey.txt
or
crypt-file decrypt --in filetobedecrypted --out filedecrypted.txt --key yourkeywritedhere
or
crypt-file decrypt --in filetobedecrypted --show-only --key yourkeywritedhere