1.2.4 • Published 4 years ago
@ericsantos/crypt-file v1.2.4
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, decryptHow to use
Examples how to use commands.
encrypt
crypt-file encrypt --in filetobeencrypted.txt --out fileencrypted --key-file yourprivatekey.txtor
crypt-file encrypt --in filetobeencrypted.txt --out fileencrypted --key yourkeywritedheredecrypt
crypt-file decrypt --in filetobedecrypted --out filedecrypted.txt --key-file yourprivatekey.txtor
crypt-file decrypt --in filetobedecrypted --out filedecrypted.txt --key yourkeywritedhereor
crypt-file decrypt --in filetobedecrypted --show-only --key yourkeywritedhere