Hi,
I am doing a project and I would like to know how to store usernames and passwords in an Access database, I have no clue but I know that my table must have fields for a userID,UserName and Password
Please help!
Hi,
I am doing a project and I would like to know how to store usernames and passwords in an Access database, I have no clue but I know that my table must have fields for a userID,UserName and Password
Please help!
//in your method:
string text = "Some text to crypt";
string crypt = Crypt(source);
//calls:
private string Crypt(string input)
{
MD5CryptoServiceProvider hasher = new MD5CryptoServiceProvider();
byte[] data = hasher.ComputeHash(Encoding.UTF8.GetBytes(input));
StringBuilder sb = new StringBuilder();
foreach (byte b in data)
sb.AppendFormat("{0:x2}", b);
return (sb.ToString());
}
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.