Teaboy
10-03-2006, 10:45 AM
I've found this sample which I've been using to encrypt/decrypt data successfully:
http://www.obviex.com/samples/encryption.asp
But now I want to send the encrypted data to a web server, which is running PHP. The problem is I can't figure out how to make PHP decrypt the data. The way that the class is encrypting is pretty complicated, and classes like PasswordDeriveBytes obviously can't be used.
I've been decoding the base64 string and then using
mcrypt_module_open('rijndael-256', '', 'cbc', '');
but I can't really make head nor tail or where I should start.
http://www.obviex.com/samples/encryption.asp
But now I want to send the encrypted data to a web server, which is running PHP. The problem is I can't figure out how to make PHP decrypt the data. The way that the class is encrypting is pretty complicated, and classes like PasswordDeriveBytes obviously can't be used.
I've been decoding the base64 string and then using
mcrypt_module_open('rijndael-256', '', 'cbc', '');
but I can't really make head nor tail or where I should start.