Home All Groups Group Topic Archive Search About

enableViewStateMAC and 3DES

Author
18 Mar 2005 9:29 AM
Simang
Hi,

I am trying to encrypt viewstate in my ASP.NET web site.
I put these items in the web.config..

<pages enableViewStateMac="true" />
<machineKey validation="3DES"/>

However, when I tried to access the .NET pages, I encountered the ff error:

"Specified key is not a valid size for this algorithm"

What could be wrong?

Help from anyone will be much appreciated!

Thanks!

Mayet

AddThis Social Bookmark Button