Raviraven / python-AES-256-Encryption-Decryption

Python script for encryption / decryption using Fernet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple AES encryption and description script

Simple script written for learning basics of string encryption / decryption in python

How does it work?

Script, when running - asks user for the string to encrypt and master password, which will be used as key.

Then script run two functions:

  1. Encryption (result will be printed in console)
  2. Decryption (the same situation - result in console)

For both functions the same IV is used - generated with blank characters (this can be changed, but remember - you have to use the same IVs for encryption and decryption!)

Setup

  1. Download repository
  2. Install required packages
pip install -r requirements.txt
  1. Run script using terminal
python "AES CBC_mode.py"
  1. Start using script 😊

Urls

  1. PyCryptodome documentation

About

Python script for encryption / decryption using Fernet.


Languages

Language:Python 100.0%