Decrypt for password with formsauthentication

with the article
http://www.devasp.net/net/articles/display/247.html

it uses FormsAuthentication.HashPasswordForStoringInConfigFile
to encrypt password,
but to decrypt it,
i attempt to use

FormsAuthenticationTicket faticket = FormsAuthentication.Decrypt(txtShowValue.Text);
lblresults.Text = faticket.Name.ToString();

getting the error : Unable to validate data
LVL 1
doramail05Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Umar TopiaConnect With a Mentor .Net Full Stack DeveloperCommented:
0
 
rajvjaCommented:
0
 
doramail05Author Commented:
i guess most of the post were saying unable to decrypt else security breach.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.