Home All Groups Group Topic Archive Search About

enableViewStateMAC and 3DES

Author
18 Mar 2005 1:55 PM
Dominick Baier [DevelopMentor]
grab a tool called GenerateMachineKey from www.pluralsight.com

  ....this does the magic for you.

---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

   nntp://news.microsoft.com/microsoft.public.dotnet.security/<d39c956e.0503180129.4e2e3***@posting.google.com>

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

[microsoft.public.dotnet.security]

AddThis Social Bookmark Button