> i guess you could force companies in the US to not ship phones encrypted by default, but they could just sneak a menu asking if you
want it encrypted before the first power on.
Free software can violate the law because it can be anonymous. Corporations have addresses, and employees, and owners. They're legal entities and can only break the law when the government allows it.
Our phones are built and solve by corporations, running software installed by corporations, and we download apps from corporate-controlled app stores. Do you think Google or Apple can just say "no, we're going to violate this law" and keep operating that way freely?
You can't stop a hacker from encrypting, because we can root our devices and install our own software, but encryption is only used by more than a couple percent of the population because it's easy. If you can't encrypt your communications without rooting your device, 99% of the population won't encrypt.
> How do you crack down on math?
Funny story: back in the 90s, whenever you downloaded a web browser, you had to promise that you lived in the US if you wanted it to support the state-of-the-art encryption, because encryption--math--was legally considered a weapon so you couldn't "export" it.
You crack down on math by arresting people using the math. It's pretty straightforward. Remember the illegal prime number that was DeCSS?