NSA knows this. Bayes’ Theorem is elementary common knowledge.

I wouldn't be so sure about that. The NSA must have developed some advanced math that we don't know about.