Hash Password in Windows Application
-
How can i generate a hash Password and checks from database in Windows Application. Like in Web Application we do sHashPwd = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPwd.Text & ds.Tables(0).Rows(0)("pwdSalt"), "MD5") If sHashPwd.Trim.CompareTo(ds.Tables(0).Rows(0)("password").Trim()) <> 0 Then lblMessage.Text = "Login failed please enter a valid password." How can we do above procedure in Windows Application Kartik
-
How can i generate a hash Password and checks from database in Windows Application. Like in Web Application we do sHashPwd = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPwd.Text & ds.Tables(0).Rows(0)("pwdSalt"), "MD5") If sHashPwd.Trim.CompareTo(ds.Tables(0).Rows(0)("password").Trim()) <> 0 Then lblMessage.Text = "Login failed please enter a valid password." How can we do above procedure in Windows Application Kartik
You can actually use the XCrypt library from http://www.codeproject.com/csharp/xcrypt.asp[^]
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
You can actually use the XCrypt library from http://www.codeproject.com/csharp/xcrypt.asp[^]
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
I don't need third Part Tool.I want code.
-
I don't need third Part Tool.I want code.
It is an open source library. You can actually check out the Hash implementation based on
System.Security.Cryptography
over there.Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
I don't need third Part Tool.I want code.
-
How can i generate a hash Password and checks from database in Windows Application. Like in Web Application we do sHashPwd = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPwd.Text & ds.Tables(0).Rows(0)("pwdSalt"), "MD5") If sHashPwd.Trim.CompareTo(ds.Tables(0).Rows(0)("password").Trim()) <> 0 Then lblMessage.Text = "Login failed please enter a valid password." How can we do above procedure in Windows Application Kartik
-
How can i generate a hash Password and checks from database in Windows Application. Like in Web Application we do sHashPwd = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPwd.Text & ds.Tables(0).Rows(0)("pwdSalt"), "MD5") If sHashPwd.Trim.CompareTo(ds.Tables(0).Rows(0)("password").Trim()) <> 0 Then lblMessage.Text = "Login failed please enter a valid password." How can we do above procedure in Windows Application Kartik
Hi, This link is the best solution with you. http://www.codeproject.com/useritems/Crypto.asp Hope that help you kiet vu (-,-)am from VietNamese. Thank you for your voting