C
Chad
Another (non .NET, Oracle) application will be passing my .NET web application data via the QueryString. I was told that this data would be DES encrypted and Base64 encoded.
The problem is that they told me that their encryption package uses only a "key" to perform the encryption....
http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96612/d_obtoo2.htm
....but the .NET DES object that I expect to use to decrypt the Querystring expects 2 parameters, the original KEY used to encode it plus an Initialization Vector (IV)
http://msdn2.microsoft.com/system.security.cryptography.des.aspx
It seems to me that unless I have the IV, that there is no way that I can decode the Querystring they send me. Any idea?
I saw an example on the web
http://www.devcity.net/Articles/47/1/encrypt_querystring.aspx
which uses the following IV :
Private IV() As Byte = {&H12, &H34, &H56, &H78, &H90, &HAB, &HCD, &HEF}
Since I saw this same IV value in multiple web examples, I thought perhaps for some reason it was commonly used, though using this value along with the key that was provided to me did not yeild a meaningful result.
Any suggestions would be appreciated.
The problem is that they told me that their encryption package uses only a "key" to perform the encryption....
http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96612/d_obtoo2.htm
....but the .NET DES object that I expect to use to decrypt the Querystring expects 2 parameters, the original KEY used to encode it plus an Initialization Vector (IV)
http://msdn2.microsoft.com/system.security.cryptography.des.aspx
It seems to me that unless I have the IV, that there is no way that I can decode the Querystring they send me. Any idea?
I saw an example on the web
http://www.devcity.net/Articles/47/1/encrypt_querystring.aspx
which uses the following IV :
Private IV() As Byte = {&H12, &H34, &H56, &H78, &H90, &HAB, &HCD, &HEF}
Since I saw this same IV value in multiple web examples, I thought perhaps for some reason it was commonly used, though using this value along with the key that was provided to me did not yeild a meaningful result.
Any suggestions would be appreciated.