A
Alex Nitulescu
Hi. I am writing an app which stores usernames/passwords and email addresses
in a database table.
The question is how can I encrypt the password provided by the user ?
FormsAuthentication.Encrypt produces an encrypted string, but it is for use
in a ticket.
On the other hand, FormsAuthentication.HashPasswordForStoringInConfigFile
produces an encrypted string for use in a config.xml file.
Anyway, even if I wanted to use this one, how do I reverse it (decrypt it)
in order to be able to send it to the user in case he requests it (Forgotten
password) ?
The second question would be how do I get my application's name ?
Thanks a lot, Alex.
in a database table.
The question is how can I encrypt the password provided by the user ?
FormsAuthentication.Encrypt produces an encrypted string, but it is for use
in a ticket.
On the other hand, FormsAuthentication.HashPasswordForStoringInConfigFile
produces an encrypted string for use in a config.xml file.
Anyway, even if I wanted to use this one, how do I reverse it (decrypt it)
in order to be able to send it to the user in case he requests it (Forgotten
password) ?
The second question would be how do I get my application's name ?
Thanks a lot, Alex.