Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. key="1A0A3EBF96277C6109632C5D96AC5AF890693AC829552F33769D6B1A4275EAE2"
  2. iv="EB6444718D73887B1DF8E1D5E6C3ECFC"
  3.  
  4. key_hex=binascii_a2b_hex(key)
  5. iv_hex=binascii_a2b_hex(iv)
  6. aes = AES.new(key_hex, AES.MODE_CTR, initial_value = iv_hex, nonce=b' ')
  7. decrypted = aes.decrypt(binascii.a2b_hex(cipher).rstrip())
  8. print(decrypted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement