A string of revelations over the past two years about the National Security Agency’s domestic and international surveillance efforts have brought new awareness to many Americans about online privacy and security concerns.