Author: Rana M | Posted on: 3/10/2009 1:09:01 AM | Views : 259

Hi

I know how to encrypt my the users passwords but I need to know how to return it back as it is?

My code:

'---- Encrypt the password '----

hashedBytes = md5Hasher.ComputeHash(encoder.GetBytes(txtPassword.Text))

'---- Get the Encrypted password '----
For I = 0 to UBound(hashedBytes)
StrHashedPassword += Convert.ToString(hashedBytes(I),16)

Next

StrHashedPassword will be saved on my database and when the user login the password that he entered will be encrypted and compared with the one stored in my database.

this section is working fine with me but my question is:

If the u ...

Go to the complete details ...