Entirely unconstitutional restriction of speech.
The government can shut down specific illegal acts, such as sharing other people's intellectual property. They can't ban tools or protocols, or do things that are functionally bans. There's plenty of precedent of the government trying to restrict encryption and being shut down. Removing the ability to communicate securely is a first amendment violation.