logoalt Hacker News

satvikpendem • today at 6:18 PM • 12 replies • view on HN

I'm surprised that the NSA, without LLMs, more than a decade ago, had figured it out when tons of mathematicians outside of the intelligence community had been also working on it and similar problems. Is there a precedent for this?


Replies

dualvariable • today at 6:34 PM

Yeah, the DES S-boxes were handed down by the NSA and later discovered to be resistant to differential cryptanalysis--indicating that the NSA discovered it before public mathematicians did.

But that doesn't mean that they're always two steps ahead of the public and that they couldn't be surprised by something coming out of OpenAI/Anthropic.

There's also a middle road where the NSA "bet" correctly that 256-bit EC crypto would be vulnerable to a non-galactic N/3 bit attack, but didn't actually have the attack themselves. Signs of them dropping P-256 for P-384 may just mean that they were acting conservatively on the basis of the publicly-known galactic N/3-bit attack.

jasonwatkinspdx • today at 6:20 PM

I believe the NSA is the single largest employer of mathematicians in the world. So maybe not that surprising.

➕ show 2 replies
jason_oster • today at 8:29 PM

Occam's razor: The simplest explanation is that the NSA did not make this discovery a decade ago. They simply deemed that 128 bits of security strength is unacceptable for National Security Systems as part of the transition from Suite B to CNSA [1].

One detail that seems to be lacking from these conversations is that CNSA dropped many more algorithms, including AES-128 and SHA-256. All three algorithms (SHA-256, AES-128, and P-256) are assumed to provide 128 bits of effective security strength. Dropping them at the same time is reasonable assuming that 128 bits of security strength is not acceptable for use in National Security Systems. The NSA specifically said they dropped these algorithms for concerns over advancements in quantum computing at the time the change was made.

We don't need to go into conspiracy-brained territory to explain any of this. The NSA has not magically known how to break ECC all this time. They are just cautiously making rational decisions based on their threat model.

The NSA isn't stupid. They know that security through obscurity does not work [2].

[1]: https://pomcor.com/2016/02/09/nsas-faqs-demystify-the-demise...

[2]: https://catless.ncl.ac.uk/Risks/25.71.html#subj19

➕ show 1 reply
adastra22 • today at 6:32 PM

The NSA knew about "asymmetric cryptography" (what we'd call public-key cryptography) since the 1950's. They've always been far ahead of the outside world. It was the main draw of working there, which until very recently most (by numbers) cryptographers in America did.

➕ show 1 reply
ACS_Solver • today at 7:07 PM

The total number of mathematicians in the world isn't that huge, they're not like software engineers. Only a subset of mathematicians work in fields that would be useful in crypto. The NSA is the world's largest employer of mathematicians and has an essentially unlimited budget. Give lots of mathematicians the task of working on cryptography and cryptanalysis, without having to write grant proposals or other administrative trivia of academia, and give them a team of programmers who can implement experiments or run computations on supercomputers, then it's quite likely they will be years ahead of public research. It also helps that NSA mathematicians get to read all academic research but don't publish their results.

And other countries with the capability to do this sort of research probably also snap up quite a few mathematicians capable of this sort of work. I'm sure China's MSS or Israel's Unit 8200 have also made some discoveries ahead of the public community.

wjnc • today at 6:24 PM

I would say: Manhattan Project and project Ultra (Enigma). In the sense that an organization with ample funding, serious brainpower, time and a clear mission can create a circumstances where they can outperform. Math is (or: was) a game for prodigees. But that is not neccesarily the best form of cooperation.

SoftTalker • today at 9:10 PM

Why do we assume the NSA didn't have LLMs or something similarly powerful a decade ago? They have the largest compute clusters in the world.

curt15 • today at 7:10 PM

Were there actually tons of mathematicians outside the intelligence community working on it? Outside a handful of university maths department or the NSA, who would be paid to work on such problems?

abnry • today at 6:58 PM

Where is the source of this rumor that the NSA had already figured this out?

layer8 • today at 6:20 PM

I’m rather doubtful myself, but the possibility can’t be excluded.

kikokikokiko • today at 6:29 PM

I'm more inclined to believe that the NSA was the one responsible to steer the standard setting bodies towards the encryption algos they already knew had flaws, and not the other way around. It's a lot easier to create something with a backdoor preinstalled and make it the standard, than to try and find a flaw after the fact.

➕ show 1 reply
martheen • today at 6:25 PM

DES S-boxes perhaps?