Advanced cryptography was classified as a munition until the 90s. They could simply reclassify it and control its distribution that way.
There are a lot of ways to keep people quiet
Normal cryptography (that used to be advanced) is still classified as a munition, but with reduced export controls, but still with export controls. Microsoft has to deal with the government for Windows's TLS library.
I worked in this field and shipped cryptography in the 1990s and had to deal with export controls. There were no secrets and no gag orders; just regulations on who you could allow to download your code, or who you could ship it to.