Viewstate encoding (algorithm behind it)

Hi folks:

Does any one of you know what is the encoding algorithm behind viewstate hidden field. I hope it is not proprietary. Can we do the same encoding by using System.Security.Cyrptography namespace. thanks in advance.
rxrazaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
nitrogenxConnect With a Mentor Commented:
Viewstate is basically a base64encodedstring  

This should answer all your questions:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp11222001.asp

Refer especially to: "Making ViewState More Secure"
0
 
rxrazaAuthor Commented:
Ok it is base64encoded string, thanks for providing me with the info. Is there a way I can see what actually in it. IS THERE A WAY WE CAN READ base64encoded string?
0
 
nitrogenxCommented:
You accepted the answer, can you tell me what your final code looks like?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
rxrazaAuthor Commented:
NitrogenX:

Actually Still I need to know how to decode it back. I asked the question about the algorithm behind it for which I got the answer. I have not tried encoding/decoding as of yet.
0
 
nitrogenxCommented:
Please let me know if that helped.
0
All Courses

From novice to tech pro — start learning today.