Paste Search Dynamic
Recent pastes
base64 b64decode
  1. from Crypto.Cipher import AES
  2. import base64
  3. Plain = 'Marvin: "I am at a rough estimat'
  4. Cipher = base64.b64decode('cY1Y1VPXbhUqzYLIOVR0RhUXD5l+dmymBfr1vIKlyqD8KqHUUp2I3dhFXgASdGWzRhOdTj8WWFTJPK0k/GDEVUBDCk1MiB8rCmTZluVHImczlOXEwJSUEgwDHA6AbiCwyAU58e9j9QbN+HwEm1TPKHQ6JrIOpdFWoYjS+cUCZfo/85Lqi26Gj7JJxCDF8PrBp/EtHLmmTmaAVWS0ID2cJpdmNDl54N7tg5TFTrdtcIplc1tDvoCLFPEomNa5booC')[:32]
  5. Key = base64.b64decode('AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRqrHB0eHyA=')
  6. aes = AES.new(Key, AES.MODE_ECB)
  7. estimate = aes.decrypt(Cipher)
  8. #print(estimate)
  9. for i in range(32):
  10.   print(chr(estimate[i]^ord(Plain[i])),end='')
Parsed in 0.007 seconds