There's a big fuzzy gray line between the software licensing questions that we find to be on topic, and the rest of the legal questions. Many software licensing questions are legal questions, that are ones that a programmer is at least somewhat competent to answer as a programmer. Most legal questions, however as the more info in the legal says:
The law is a minefield and the best advice anyone can give when asked about legal matters is often:
ask a lawyer.
Asking legal questions on Stack Exchange is not a substitute for taking proper local legal advice. What we can do is advise whether asking a lawyer is essential or just highly recommended.
We can competently answer some questions. Most often, when the answer is "you need to talk to a lawyer."
With your question, this is something that you need to ask a lawyer. You've gone into the realm of encryption and munitions. If you are in the US, this gets into ITAR and the like. It is not something that as programmers we are even able to properly give you any correct answer.
You need to talk to a lawyer. This goes far beyond the legal questions of "can I remove the header from a BSD licensed file?" that are (marginally) on topic here.
Related: When is a software licensing question on topic?