TheAlphaSchoolSystemPTYLTD / api-introduction

A basic introduction to the TASS API's.
16 stars 10 forks source link

Pycrypto no longer maintained #16

Closed WildDorito420 closed 1 year ago

WildDorito420 commented 1 year ago

The Pycrypto library is no longer maintained and contains security vulnerabilities. This should be changed to the pycryptodome library (https://pypi.org/project/pycryptodome/)

Line 47 in encryptDecrypt3.py should be changed to:

ciphertext = rijndael.encrypt(plaintext.encode("utf8"))

as that method only accepts bytes, not strings.

WildDorito420 commented 1 year ago

Looks like it was already raised as an issue here #10