r/cryptography • • 19h ago

Cracking a 1024-bit DKIM key now costs about $30M

34 Upvotes

In March 2026 we estimated factoring a 1024-bit RSA key at $40M to $120M and one to two years. This September that record fell twice in 16 days. First Eric Lu at Cognition factored RSA-260 (862 bits) in 15.6 days for about $400,000. Then Stephen Weis at Anthropic factored RSA-896 (896 bits) in 10 days with about 30 GPU-years.

It is an extrapolation, but complexity formula gives 900 to 1,050 GPU-years for 1024 bits. That is about $30M at $3.50 per GPU-hour, and five to six months on 2,048 GPUs.

Is anyone planning to stop accepting 1024-bit RSA signatures as a DKIM pass? From our side we already notifying all the customers about weak DKIM keys automatically.

Full calculation and sources: https://dmarcdkim.com/blog/cracking-a-1024-bit-dkim-key


r/cryptography • • 8h ago

Scott aaronson says there are credible rumors of RSA being toast because of ai labs latest batch of outputs

29 Upvotes

A number of others in the socials that were first to call specific things from the labs are also saying it. Solving in P time is on the table now


r/cryptography • • 17h ago

Why does CDCL hit a wall at 19 rounds of SHA-256?

3 Upvotes

I wrote a CDCL solver for SHA-256 from scratch (C++17, F2 Gauss-Jordan elimination, 12-thread lemma sharing) and I'm stuck on how far it can go with round-reduced versions.

At 18 rounds it finds a preimage in about 4.5 s (11,451 conflicts). Caveat: that's one benchmark target, the 18-round digest of the padded "abc" block, not a random one. I fix the six registers A..F at step 16 to values derived algebraically from the digest, and absorb the last two rounds backwards against W16/W17. No external hints.

At 19 rounds it just dies. 241M conflicts over 11.75 h, no solution. My guess is nested Ch multiplexers and carry chains, but I haven't tested that, so take it as a guess.

For comparison I also implemented a simplified 18-step version of Wain/Basra's algebraic method (dropped the third Q-inversion, set a4 = a3). After an ~11 s table build it handles arbitrary 18-round targets in under 0.1 s. The 19-20 step results are Wain's (arXiv:2611.00512), and I re-verified his 46 witnesses.

So has anyone seen a similar cliff between 18 and 19 rounds with other encodings? And is there a better way to encode Ch and the carries for CDCL? Code:

https://github.com/nxvr443/sha256-cryptanalysis-20rounds


r/cryptography • • 12h ago

Quick Glance Valid Sha256

1 Upvotes

So I'm guessing that because SHA256 output is that many bits, if you get an ASCII output like this:

ed614564e138c42f78f0a0f42f344a59210327c6820c6af483b7e6aa617eeff5

It's still valid because each character is 1 byte, which is 8 bits so you get 32 characters - but I'm getting more than that many characters so is Sha256 calc just wrong?