Urgent Help with AES-128 Encryption/Decryption Without Libraries in Python for a School Project

Posted by Prestigious_Depth341@reddit | talesfromtechsupport | View on Reddit | 2 comments

Hi everyone, I’m working on a school project due the day after tomorrow, and I really need help with implementing AES-128 encryption and decryption for files in Python without using any external libraries.

So far, I’ve managed to get the encryption part working (or at least I think it’s correct), but I’m completely stuck on decryption. I’m not sure if the issue is because of something in the encryption step or if there’s a problem in how I’m handling the decryption.

Here’s what’s happening:

Any tips, resources, or even an outline of the decryption process would mean a lot. Thanks in advance for your help!