Advertisement
foryou97

AES-ECB

Mar 8th, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. from Crypto.Cipher import AES
  2. import base64
  3. ciphertext = base64.b64decode("t1h0qbcOhRQF5E46bsNLimfbcI6egrKP4LHtKR3lT4UdWjhssM8RQSBT7S/8rcRy")
  4. key = base64.b64decode("T5uVzYtuBNv6vwjohslV4w==")
  5. obj = AES.new(key, AES.MODE_ECB)
  6. obj.decrypt(ciphertext)
  7. 'flag{do_not_let_machines_win_1e6b4cf4}__________'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement