Now I and other non-mathematicians can look into Euler's totient function and RSA, and learn more. Thanks for answering.
So is there really never a proof in pure mathematics with more obvious or immediate near-term applications?
Are there any historical examples of that? A major breakthrough in mathematics that once understood, it was immediately obvious that it was going to make X work better, and then it did?