Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Aes padding
Post: Aes padding

I have a question about padding when encrypting using aes. Killerrex had previously helped me develop a code for decrypting an AES encrypted string where only only part of the key was know (we were ...
Hairy_Ape General Coding Help 1 2,352 May-21-2018, 10:57 AM
    Thread: AES Decryption too slow
Post: RE: AES Decryption too slow

Hi killerrex Thanks for your help. Much faster now. Just need to figure out how to strip the padding! Thanks again.
Hairy_Ape General Coding Help 10 6,507 May-10-2018, 06:33 AM
    Thread: AES Decryption too slow
Post: RE: AES Decryption too slow

Ok I've changed my code to only attempt to decode the last 16 bytes, and to only write to file if the returned string is ascii. My code now looks like this: import base64 from Crypto.Cipher import A...
Hairy_Ape General Coding Help 10 6,507 May-09-2018, 11:05 AM
    Thread: AES Decryption too slow
Post: RE: AES Decryption too slow

Ok that makes sense. Didn't realise that was how it worked in ECB mode. I've changed my code to only attempt the last block but I'm not sure about how to only writing the promising ones. Will have to...
Hairy_Ape General Coding Help 10 6,507 May-08-2018, 08:00 PM
    Thread: AES Decryption too slow
Post: RE: AES Decryption too slow

import base64 from Crypto.Cipher import AES message = open ('aestest.txt', 'r') results = open ('results.txt', 'w') bloo = message.read() decoded = base64.b64decode(bloo) x = 0 while x <= 99...
Hairy_Ape General Coding Help 10 6,507 May-07-2018, 04:22 PM
    Thread: AES Decryption too slow
Post: RE: AES Decryption too slow

Hi thanks for the reply. Sorry for any confusion but with this being aes 256 the password is 32 bits in length. So we need to figure out the last 8 bits of the password which is why I’m iterating fro...
Hairy_Ape General Coding Help 10 6,507 May-05-2018, 12:03 AM
    Thread: AES Decryption too slow
Post: AES Decryption too slow

Hi everybody I’m still fairly new to python so please bear with me if I ask any daft questions. I’m currently working on a crypto challenge to decode some message encoded with AES 256. Within the c...
Hairy_Ape General Coding Help 10 6,507 May-04-2018, 11:13 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020