API V1 Aeldria

This commit is contained in:
2026-06-23 13:32:17 +02:00
commit b56c82d229
164 changed files with 5666 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
namespace Aeldria.Api.Services;
public static class PasswordService
{
public static string HashPassword(string password)
{
return BCrypt.Net.BCrypt.HashPassword(password);
}
public static bool VerifyPassword(string password, string hash)
{
return BCrypt.Net.BCrypt.Verify(password, hash);
}
}