hacktoolkit / django-htk

A set of apps, utilities, middlewares, etc for Django
MIT License
140 stars 46 forks source link

refactor: ♻️ AESCipher Python 2/3 compatability #412

Closed goztrk closed 11 months ago

goztrk commented 11 months ago

Status

READY

Description

It was decoding with base64.b64decode in Python 2. I updated it to htk.compat.b64decode but it needs to stay as bytes for decrypting to work.

NOTE: Tested with Python 2.7 and Python 3.9