WP: AesManaged encryption vs. mcrypt_encrypt
- by invalidusername
I'm trying to synchronize my encryption and decryption methods between C# and PHP but something seems to be going wrong.
In the Windows Phone 7 SDK you can use AESManaged to encrypt your data
I use the following method:
public static string EncryptA(string dataToEncrypt, string password, string salt)
{
AesManaged aes = null;
…