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:
- I feel completely lost, and I’m running out of time—any guidance on implementing AES-128 decryption without a library would be a huge help.
Any tips, resources, or even an outline of the decryption process would mean a lot. Thanks in advance for your help!
iainmcc@reddit
Help-me-with-my-homework clickbait, but I'll rise to the bait... Either your teacher or Prof didn't explain symmetric encryption to you or you didn't understand.
Go to the Wikipedia page on AES and you'll have your answer. (Hint: you've already done the decryption)
And if you want to test, the specification from NIST has a test vector you can use.
Thunderbolt1993@reddit
Have a look at the rules, this is not a tech support subreddit
You'll probably want to ask in
r/learnpython
or
r/Python