public void SetPassword(string password) { if (Salt.IsEmpty()) { Salt = Guid.NewGuid().ToString(); } PasswordHash = (password + Salt).MD5Hash(); }