Link to home
Create AccountLog in
Avatar of doramail05
doramail05Flag for Malaysia

asked on

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
Avatar of rajvja
rajvja
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER CERTIFIED SOLUTION
Avatar of Umar Topia
Umar Topia
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of doramail05

ASKER

i guess most of the post were saying unable to decrypt else security breach.