Need Help with another Cipher. AES CBC & CTR this time
Well I have to built a CBC cipher this time to decrypt a given messege.
Quote:
Code:
>>> from Crypto.Cipher import AES but I got the following error Code:
Traceback (most recent call last): |
Quote:
Also, you should realize that the string containing the characters "4ca0" is not the same as the string the raw byte values 4Chex (76), A0hex (160). |
Well Finally built a decryptr for both CBC and CTR.
here is how I implemented it Code:
from Crypto.Cipher import AES |
Oh I see the IV was in fact in the ciphertext. It's true that the IV is commonly put in front of the ciphertext when encrypting, but if I was giving an exercise I wouldn't label it part of the ciphertext.
Quote:
Code:
from Crypto.Cipher import AES |
All times are GMT -5. The time now is 02:00 PM. |