Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. key="796E756F706A79636765727A716D716200000000000000000000000000000000".decode("$
  2. print(len(key))
  3. iv ="717A667774757969636B676362637A6D".decode("hex")#[::-1]
  4. print(len(iv))
  5.  
  6. text="D7gqZLlTzX73EFzoiY5Guo+8IUiTpEdUo/+56s9csc/yu3LUZJzEr2AXUpjbQtpC"
  7.  
  8. import base64
  9. from Crypto.Cipher import AES
  10.  
  11. enc = base64.b64decode(text)
  12. cipher = AES.new(key, AES.MODE_CBC, iv)
  13. de = cipher.decrypt(text)
  14. print de
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement