Banning encryption is unenforceable
Data = information + meaning.
Even when there is a known encoding / file format / encryption algo, the data itself can still be meaningless / random. Unless they make it illegal to store or transmit meaningless / random data, how can you enforce a law banning encryption? How can they prove that your data must have a hidden meaning and is not just random?