Skip to content

NodeJS console application for encrypt and decrypt files using a private key

Notifications You must be signed in to change notification settings

ericsantos/crypt-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NodeJS console application for encrypt and decrypt files using a private key

Resources

Stars

Watchers

Forks

Packages

No packages published