how to use MD5 technics
-
Hi I need to use MD5 technics for encripting & decripting the password. So if any body knows about that, plz give me an idea to use the MD5 technics. Just give me some example that to know the process. Thanking u Regards, Naren.
please help me
-
Hi I need to use MD5 technics for encripting & decripting the password. So if any body knows about that, plz give me an idea to use the MD5 technics. Just give me some example that to know the process. Thanking u Regards, Naren.
please help me
MD5 in itself can't be 'decrypted'. MD5 is a hash. It is commonly used to store passwords in the following manner: Step 1) The user signs up and enters his/her password, where it is MD5ed and stored locally. Step 2) The user logs on with a password, which is MD5ed and compared with the local hash. I'm sure you can find an article on MD5 on google or here on codeproject. :)
-
Hi I need to use MD5 technics for encripting & decripting the password. So if any body knows about that, plz give me an idea to use the MD5 technics. Just give me some example that to know the process. Thanking u Regards, Naren.
please help me
MD5 hashing is one way, so you can't 'decrypt' it as such. You'd usually use it to store passwords in a file or database so they're not readable by anyone with access to the database. When someone comes to log-in, you hash the password again and compare the hashed passwords to see if they're entered the correct one. .NET has a built in function for this:
string hashedPassword = FormsAuthentication.HashPasswordForStoringInConfigFile("Password to Hash", "MD5");
http://msdn2.microsoft.com/en-us/library/system.web.security.formsauthentication.hashpasswordforstoringinconfigfile.aspx[^]
Regards, Rob Philpott.