@ericsantos/crypt-file

1.2.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ericsantos/crypt-file

Weekly Downloads

4

Version

1.2.4

License

ISC

Unpacked Size

7.99 kB

Total Files

8

Last publish

Collaborators

  • ericsantos