Go to file
Vicky Rampin e6ad830b56 add encrypted file to gitignore 2021-11-11 23:18:38 -05:00
.gitignore add encrypted file to gitignore 2021-11-11 23:18:38 -05:00
LICENSE add license and gitignore, outline python file 2021-11-10 14:48:30 -05:00
README.md add starting info to README 2021-11-10 14:52:26 -05:00
index.py add decryption function 2021-11-11 23:18:05 -05:00

README.md

2021 CSCI-GA3205 Homework 09

Author: Vicky Rampin

Prompt

AES Encryption Implementation: write a program to encrypt and decrypt a file using the AES algorithm. You can implement the functions you need or use the libraries.

Installation

This script is made with Python 3.8 and uses the argparse and pathlib libraries. Ensure that you have Python 3.8+ installed in order to run this script correctly.

Usage

First, clone this repository to your machine. Open the command line on your machine and navigate to where you cloned this repository. To get help using cd, use this tutorial.

Before running the script, you should know it expects two arguments:

  1. --file : provide a path to the file that you want to decrypt
  2. modality: either encrypt and decrypt, tells the script which activity you'd like to do

With this in mind, you can run it like so:

$ python index.py --file=README.md encrypt

Or like this:

$ python index.py --file=/home/user/Desktop/secureFile.txt decrypt