Skip to content

Instantly share code, notes, and snippets.

View jrversteegh's full-sized avatar

Jaap Versteegh jrversteegh

View GitHub Profile
@danbailo
danbailo / main.py
Last active February 24, 2025 20:06
Encrypt/decrypt CryptoJS in Python 3.11
#
# 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