Untitled

mail@pastecode.io avatar
unknown
csharp
2 years ago
1.2 kB
2
Indexable
Never
public void decrypt()
{
    byte[] salt = Convert.FromBase64String("Iv0g47kO6N+es1AZilVP0uTHdTKnrT1YUqLgratSbLg=");
    byte[] data = Base64.Decode("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==");
    byte[] iv = Convert.FromBase64String("BQ4BVcDAsv0OYUHTMJEojg==");
    string password = "Olivia18072004*";
    byte[] key = KeyDerivation.Pbkdf2(password, salt, KeyDerivationPrf.HMACSHA256, 10000, 32);

}