yea boy, now I got it!
This commit is contained in:
11
OwnChar/Utils.cs
Normal file
11
OwnChar/Utils.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace OwnChar
|
||||
{
|
||||
public static class Utils
|
||||
{
|
||||
public static string HashPassword(string username, string password)
|
||||
{
|
||||
// TODO: Implement a good hasing algorythmus (like MD5) BEFORE going productive!
|
||||
return (username + ":" + password).GetHashCode().ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user