private bool Register() { string salt = server.registerStep1(username); string newPassword = AuthenticationPrimitives.hashPassword(password, salt); return(server.registerStep2(username, newPassword, salt)); }