Compare commits
1 Commits
a17a21b12c
...
16038c9e6a
| Author | SHA1 | Date | |
|---|---|---|---|
| 16038c9e6a |
@@ -6,7 +6,7 @@ public static class Utils
|
|||||||
{
|
{
|
||||||
public static string HashPassword(string username, SecureString password)
|
public static string HashPassword(string username, SecureString password)
|
||||||
{
|
{
|
||||||
// TODO: Implement a good hasing algorythmus (like MD5) BEFORE going productive!
|
// TODO: Implement a good hashing algorythmus (like MD5) BEFORE going productive!
|
||||||
return (username + ":" + password).GetHashCode().ToString();
|
return (username + ":" + password).GetHashCode().ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user