Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
/ ESHER Public archive

CLi tool for file Encryption

Notifications You must be signed in to change notification settings

dsfx3d/ESHER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESHER

“Cryptography is the ultimate form of non-violent direct action.” ― Julian Assange

ESH

Usage | Description | Project Structure

Usage

Esher is a command line utility for file encryption.

Syntax
esh -f[h|e|d|dh|do|p|l] arg1 --optional[ -p[o] arg2 ] [key] 
Options
|   Flag   |   Options                   | Discription                                   |
-----------------------------------------------------------------------------------------|
|   -f     |  -h --help                  | Displays the utility manual page              |
|---    ---|---                       ---|---                                         ---|
|          |  -e [filepath] [key]        | 1. Read data at 'filepath'.                   |
|          |                             | 2. Encrypt data using 'key'.                  |
|          |                             | 3. Convert plainfile to dopefile.             |
|---    ---|---                       ---|---                                         ---|
|          |  -d [filepath] [key]        | 1. Read data at 'filepath'.                   |
|          |                             | 2. Decrypt data using 'key'.                  |
|          |                             | 3. Display Decrypted Data.                    |
|---    ---|---                       ---|---                                         ---|
|          |  -d [filepath] -o \         | 1. Read data at 'filepath'.                   |
|          |     [outputpath] [key]      | 2. Decrypt data using 'key'.                  |
|          |                             | 3. Display Decrypted Data.                    |
|          |                             | 4. Store decyphered data at `outputpath'      |
|---    ---|---                       ---|---                                         ---|
|          |  -dh [filepath] -o \        | 1. Read data at 'filepath'.                   |
|          |     [outputpath] [key]      | 2. Decrypt data using 'key'.                  |
|          |                             | 3. Store decyphered data at `outputpath`      |
|---    ---|---                       ---|---                                         ---|
|          |  -do [filepath] [key]       | 1. Read data at 'filepath'.                   |
|          |                             | 2. Decrypt data using 'key'.                  |
|          |                             | 3. Overwrites the original file at 'filepath' |
|          |                             |    decrypted data.                            |
|---    ---|---                       ---|---                                         ---|
|   -p     |  -o [filepath] --outputfile | To be used with `-d` flag. Read Description   |

Description

.....

Project Structure

  • esh.jpg - The Armenian Esh.
  • esh.cpp - Main source file.
  • /require - Required headers directory.
    • common.h - All common includes and defines.
    • eli.h - File handler for the project.
    • eli_def.h - Declaration of eli.h.
    • esh.h - Interface functions between esh.cpp and required headers.
    • esher.h - le Cryptographer.
    • esher_def.h - Declaration of esher.h.

About

CLi tool for file Encryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published