Skip to content

AES-CBC encryption / decryption python program

Notifications You must be signed in to change notification settings

mixbits/Crypt-It

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Crypt-It

A simple AES-CBC encryption tool for documents

Table of Contents

Installation

To install Crypt-It, run the following command in your terminal:

pip install -r requirements.txt

This will install all necessary dependencies for running the program.

Usage

Encryption

To encrypt a file using Crypt-It, simply run the following command:

python crypt-it.py -e [input_file]

Replace [input_file] with the path to the file you want to encrypt. You will be prompted to enter an encryption password and confirm it.

Example:

Enter encryption password: [yourpassword]
Confirm encryption password: [yourpassword]

File encrypted and saved to example.doc.enc

The original file [example.doc] will be replaced with the encrypted version (example.doc.enc).

Decryption

To decrypt a file, run the following command:

python crypt-it.py -d [input_file]

Replace [input_file] with the path to the .enc file you want to decrypt. You will be prompted to enter the decryption password.

Example:

Enter decryption password:[yourpassword]

File decrypted and saved to example.doc

The original encrypted file (example.doc.enc) will be replaced with the decrypted version (example.doc).

Requirements

Python 3.6+ and cryptography libraries included in requirements.txt

Note: Make sure to store your encryption/decryption passwords securely, as they cannot be recovered if lost.

About

AES-CBC encryption / decryption python program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published