public string HashPassword(string password) { return(BCrypt.HashPassword(password, BCrypt.GenerateSalt())); }
public static string GenerateSalt() { return(BCrypt.GenerateSalt(10)); }
public string HashPassword(string password) { return(BCrypt.HashPassword(password, BCrypt.GenerateSalt())); }
public static string GenerateSalt() { return(BCrypt.GenerateSalt(10)); }