There are plenty of WW2/Cold-war era laws on the book regarding cryptography in a lot of countries though.
Even the US.
https://en.m.wikipedia.org/wiki/Export_of_cryptography_from_...
Even the US.
https://en.m.wikipedia.org/wiki/Export_of_cryptography_from_...