public bool VerifyPassword(string password) { return(Hashing.Verify(password, this.PasswordHash)); }
public User(string username, string email, string password) { this.Name = username; this.Email = email; this.PasswordHash = Hashing.Hash(password); }