> This is a reasonable enough interpretation of that law, even with the US First Amendment.
I don't think it's reasonable at all to call computer code anything other than speech. In fact, just like you say, you can write it in a book. I'd go one step further and say, "if you can encode it in a book, it's speech and therefore protected expression, and cannot be banned." (I am aware that is more permissive than current US laws - I think illegal numbers is a thoroughly Wrong and unconstitutional concept).