Cyber officials are advising people to use encryption in their communications after a sprawling hacking campaign.