I took a course in Cryptography in grad school. Our professor was an old coot with decades of experience in the field. He had several interesting stories to tell involving the NSA and Cryptography. (Now, this is from memory, as the course was decades ago and grad school is a blur now, and memories from the course have been garbge collected decades ago).
This is from the time when DES was Da Bomb. It was supposed to be unbreakable. It had 16 rounds of these "shuffle" and "exchange" boxes (I may be screwing up the terms here, so pardon the ignorance). It had been around for a couple of decades and resisted everything thrown at it. Until someone came up with an attack for ciphers built with those specific boxes. And everybody started panicing .... except that this attack worked only on ciphers up to 15 such boxes in sequence, and not 16 (as was the case with DES). His claim was that the NSA knew about the attack, and that's why DES had 16 such rounds of boxes.
His gut feeling was that the NSA is about ~20 years ahead of the rest of the world in Cryptography.
We know now that the NSA strengthened DES against mathematical attacks, but weakened it against brute force attacks.
Similarly, the initial SHA-1 proposal was published, then withdrawn, then republished with a minor unexplained change. An attack against the initial version was found (in public) about ten years later.
Whatever it was that got us believing Americans were ahead of anything it ain’t working anymore.
I have a hard time believing they can maintain their current tech let alone be ahead. It’s just not credible anymore if it ever was. It’s dying and we all know it except they don’t, yet.
Leaks from a decade ago now showed that the emperor has no clothes
It just has sovereign immunity to do things that would put the rest of us in prison
the coding styles and research wasn’t particularly impressive
If you follow future tech the government builds for the military, you'll know the government is always 20 years ahead of what the public has now. Whatever tech we have access to today that seemed outlandish 20 years ago, is in front of you now. If we're on the edge of publicly breaking encryption, then the government is already 20 years ahead of that.
> His gut feeling was that the NSA is about ~20 years ahead of the rest of the world in Cryptography.
I guess he's drank the American exceptionalism coolaid then?
I don't have a hard time believing they're ahead of the game compared to what's openly published, or that there's plenty of secrecy and manipulation behind the scenes, possibly coordinated between universities, companies, and governments.
I do, however, have a massive problem with believing that the NSA were ever ~20 years ahead of all other world governments. Or even one year. You're telling me the Russians, Chinese, all of Europe, all universities in the world, collectively, couldn't muster the mathematical process of one US government agency? That's pure conspiracy wrapped up in America worship.
My grad level cryptography professor had a paranoid stance of not liking RSA, and I remember he recommended that if we had to use it, we use rsa keys that were 8192 or higher.
It’s not supported in very many places, but because of him I have used 4096-bit RSAs keys everywhere that I could.
He may have been paranoid, but in cryptography it’s often not wrong to be paranoid. His advice was a decade ago and still mostly holds up today, even if it’s hopefully overkill today as well. But it’s left me feeling more secure everywhere that I’ve used higher-than-recommended key lengths and crypto-standards.