This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Encryption with AES-CBC | |
# | |
# Python 3.11.3 | |
# pkcs7==0.1.0 | |
# pycryptodome==3.20.0 | |
# Adapted from https://gist.github.com/adrianlzt/d5c9657e205b57f687f528a5ac59fe0e | |
import binascii | |
import struct |