Here is my implementation of CTR and CBC modes for AES-256.
pip3 install -r requirements.txt
To use CBC Mode:
python aes-256.py -f <PLAINTEXT_FILE_PATH> --cbc
To use CTR Mode:
python aes-256.py -f <PLAINTEXT_FILE_PATH> --ctr
To use CBC and CTR Mode:
python aes-256.py -f <PLAINTEXT_FILE_PATH> --all