The US government is looking into encryption techniques that could prevent eavesdroppers from spying on its own surveillance of Americans’ phone records.