Encryption is tolerated because it also allows protecting regular people from criminals, in ways which allowed to build e-commerce on top, and ultimately enabling great economic boom on the Internet. If it was only about securing messaging, it would likely have been banned already.