dennisme / AESBlockCiphers

MIT License
0 stars 0 forks source link

aesOFB.py #12

Open dennisme opened 9 years ago

dennisme commented 9 years ago

OFB does not use padding. In my implementation it does because if I remove the xoring of the data adds bits to the plaintext/ciphertext. The issue seems to be stemming from the xor.py. Will have to look into it.

The solution for now is to simply use padding. The library comparisons will have to take note of this.

dennisme commented 9 years ago

aesCTR.py also does not use padding. Has the same issue.

dennisme commented 9 years ago

CFB mode does not use padding. I was able to get that working without it.