D
David Kyle
Hello,
I'm building a web application where I need to have some post data
encrypted. An example would be something like this:
<input type=hidden value='<%# GetEncriptedData() %>'>
GetEncryptedData() returns a string value that I can post.
I will be using a symmetric algorithm; most likely the Rijndael algorithm.
I don't have any problem encrypting my data but the issue lies in the fact
that I am left with the encrypted data in a byte array (byte[]). I believe
I need to somehow convert this to a string format and then run it through
the Server.URLEncode() method so that the string is then postable.
I will also need to convert it back to bytes. Obviously using
Server.URLDecode() and then some other method.
Any help would be greatly appreciated!
David Kyle
www.chloemag.com
I'm building a web application where I need to have some post data
encrypted. An example would be something like this:
<input type=hidden value='<%# GetEncriptedData() %>'>
GetEncryptedData() returns a string value that I can post.
I will be using a symmetric algorithm; most likely the Rijndael algorithm.
I don't have any problem encrypting my data but the issue lies in the fact
that I am left with the encrypted data in a byte array (byte[]). I believe
I need to somehow convert this to a string format and then run it through
the Server.URLEncode() method so that the string is then postable.
I will also need to convert it back to bytes. Obviously using
Server.URLDecode() and then some other method.
Any help would be greatly appreciated!
David Kyle
www.chloemag.com