Simple script written for learning basics of string encryption / decryption in python
Script, when running - asks user for the string to encrypt and master password, which will be used as key.
Then script run two functions:
- Encryption (result will be printed in console)
- 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!)
- Download repository
- Install required packages
pip install -r requirements.txt
- Run script using terminal
python "AES CBC_mode.py"
- Start using script 😊