Skip to content

prakharprobably/uncryption-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

CommandLine Utitlity for Uncryption- Encryption and Decryption but very unoptimized and much worse. Made as a school project.
The code is extremely ugly because of the restrictions placed on us.

Usage

  1. Clone the Repo into a suitable location and cd into it
  2. run python main.py -[mode] -[algorithm] [path of input file] [path of output file] [key(optional, depending on algorithm chosen)]

NOTE: The output file will completely be overwritten with the encrypted/decrypted data. It is therefore reccomended to use an empty file for dumping the output.

NOTE: If the output file does not exist already, the program will create a new file with the name provided and dump the output there.

NOTE: Merely the name of the file(s) will suffice if the file(s) reside(s) in the same directory as main.py. Otherwise, the complete paths of the file(s) is/are requried.

As of now, only Caeser Cipher and some of its derivative algorithms (such as the August and ROT-13 ciphers) are supported.
All flags types, along with thier possible flags are described breifly below-

Flag Type Description Possible Flags Description
-[mode] Specifies the 'mode' of execution. That is, if the script is going to be used for encryption or decryption -e Specifies that the script is going to be used for the pourposes of encryption
-d Specifies that the script is going to be used for the pourposes of decryption
-[algorithm] Specifies the algorithm to be used for cryptography -c Specifies that Caesar Cipher is going to be used for cryptography
-r13 Specifies that ROT-13 is going to be used for cryptography
-a Specifies that August Cipher is going to be used for cryptography
-p Specifies that Playfair Cipher is going to be used for cryptography
-v Specifies that Vigenere Cipher is going to be used for cryptography

About

very basic and trashy commandline utility for simple string encryption and decryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages