Files
Library/OwnChar/Utils.cs
2024-05-28 15:18:47 +02:00

14 lines
361 B
C#

using Pilz.Cryptography;
namespace OwnChar
{
public static class Utils
{
public static string HashPassword(string username, SecureString password)
{
// TODO: Implement a good hasing algorythmus (like MD5) BEFORE going productive!
return (username + ":" + password).GetHashCode().ToString();
}
}
}