using ColaFlow.Modules.Identity.Application.Services; namespace ColaFlow.Modules.Identity.Infrastructure.Services; public class PasswordHasher : IPasswordHasher { public string HashPassword(string password) { return BCrypt.Net.BCrypt.HashPassword(password, workFactor: 12); } public bool VerifyPassword(string password, string hashedPassword) { return BCrypt.Net.BCrypt.Verify(password, hashedPassword); } }