Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
1.2 kB
5
Indexable
Never
from Cryptodome.Cipher import AES
import hashlib
password = "Olivia18072004*"
salt = base64.b64decode("Iv0g47kO6N+es1AZilVP0uTHdTKnrT1YUqLgratSbLg=")
vault = base64.b64decode("1YUvzkXZkpLDKrAfuuZUT3Y/70yZDKulusq44JPhvs+2G0u3q0QhAwJZMq+L3KMVima/fSUc8RZF3M01zkQ5/rKcWjkUwMyRELooIb/+kpGLcrrz+mfafBUEGNHRGzodgj3LLpxQV4KYVNYv6s2i1Pp+9PnBgglClebTKnVkzsZ/4P09uHqsnPr3KKAUVyxChDbLdgPoBqf1R9Jvvy4dZ/yYDPmsne/eiNAAESFNQliC9/SGkYfMb50ow6PK26yeIq+WBduFJJfqEZGT8neMTM3ADsKirSD8oYBSdxHwMD8FGrr0YB+xbtnUONpbs+OGYMleyt4yNfUdkbNdZRM6d3+5ziiJ2AFDgL/MojJkldc0fbqsFbiFnjS9jM3mTt0cHPvoE+b1T79tiDD/2bHEnjmC6rOXOjEXIhkCz07x8rTw1w3lr5RHvVV0xKVM20yhM2qJfvY7oPfK0sg5dV9BIGpW19tii1WORlzRZlZwhmeUbQ2GaRFVucGhlDS2jcaR8aVNHlQ9Hr3y2Fqu2CBK5hmKgSMgfbybVQRzCHf0komOTtngqPvy+2n74z/LULByO9qn+oeZ/dibHkZzdAwgidizcNP9KFCCxfEt9OuqQQXEBF+Upi/mGA6uB0aznq7HXR4VL4mRyuConiCOiO20o2e59yi1qgATkWFhqvqQ80t/hl3UNUvAo4qc5XGZy17ghy7f7zZ32lViGvfIADUHGW++GL5zh6N3jgrf+zEkOGDNVcEwJgEYtZJUDQcu9Pt+h401DiRx3WzUeA==")
iv = base64.b64decode("BQ4BVcDAsv0OYUHTMJEojg==")
key = hashlib.pbkdf2_hmac('sha256', password.encode('utf-8', 'ignore'), salt, 10000, 32)
decrypted_block = AES.new(key, AES.MODE_GCM, nonce=iv).decrypt(vault)