Several top law enforcement and intelligence officials pressed companies and policy makers to broker a solution to threats posed by encrypted communications, saying terrorists and criminals are using these tools to carry out a range of criminal behavior.