Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- key="796E756F706A79636765727A716D716200000000000000000000000000000000".decode("$
- print(len(key))
- iv ="717A667774757969636B676362637A6D".decode("hex")#[::-1]
- print(len(iv))
- text="D7gqZLlTzX73EFzoiY5Guo+8IUiTpEdUo/+56s9csc/yu3LUZJzEr2AXUpjbQtpC"
- import base64
- from Crypto.Cipher import AES
- enc = base64.b64decode(text)
- cipher = AES.new(key, AES.MODE_CBC, iv)
- de = cipher.decrypt(text)
- print de
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement