Former New York mayor Rudolph W. Giuliani on Jan. 12 reacted to his appointment by President-elect Donald Trump as an informal cybersecurity adviser.