Skip to content

ardata-tech/encryption-cli-tool

Repository files navigation

Encryption CLI Tool

This is a simple command-line tool for encrypting and decrypting files using a password. It is built using Deno and the cliffy library.

Installation

  1. Install Deno by following the instructions at deno.land.

  2. Clone this repository or download the script:

git clone <repository_url>
  1. Navigate to the directory containing the script:
cd <repository_directory>
  1. Compile the script
deno compile --allow-read --allow-write --allow-run main.ts

Usage

The Encryption CLI Tool allows you to encrypt and decrypt files with a password.

Encrypting a File

To encrypt a file, use the -e or --encrypt option followed by the file path and password:

encryption-cli-tool -e ~/path/to/file.png -p password

The encrypted file will be saved with the prefix encrypted- added to the original file name.

Decrypting a File

To decrypt a file, use the -d or --decrypt option followed by the file path and password:

encryption-cli-tool -d ~/path/to/file.png -p password

The decrypted file will be saved with the prefix decrypted- and the original file name.

About

Simplified Encryption Tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published