namespace Lumina.Application.Common.Infrastructure.Security;
///
/// Interface for the service for hashing passwords.
///
public interface IPasswordHashService
{
///
/// Creates a hash from a string.
///
/// The string to be hashed.
/// The hashed string.
string HashString(string password);
///
/// Verifies a password against a hash.
///
/// The string to be checked.
/// The hashed representation of the string to be checked.
/// if and the de-hashed versions of are equal, otherwise.
bool CheckStringAgainstHash(string password, string hashedPassword);
}