r/cryptography • • 9h ago

If AI ever solved "Factoring in P" (breaking RSA), how worried should we actually be about Bitcoin's cryptography?

0 Upvotes

There are rumors circulating right now (even mentioned by computer scientist Scott Aaronson) that frontier AI labs might be close to solving integer factorization in polynomial time (P). 
If that ever turned out to be true, it would immediately break RSA encryption across the internet. Since Bitcoin relies on Elliptic Curve Cryptography (secp256k1) and SHA-256 rather than RSA, the protocol wouldn't be broken directly on day one. 
However, a mathematical breakthrough of that scale could easily spill over into solving the Elliptic Curve Discrete Logarithm Problem (ECDLP), not to mention the chaos it would cause for exchanges and internet infrastructure relying on RSA.
How do you see this playing out, and is anyone actively working on quantum-resistant or post-RSA signature proposals (BIPs) for Bitcoin right now?


r/cryptography • • 15h ago

How is ElGamal used in practise?

2 Upvotes

The ElGamal PKE is not secure under chosen ciphertext attacks, since the discrete log problem is random self-reducible. So how is it (and other discrete log based primitives) used in practice? I've been reading about this Fujisaki-Okamoto construction, that transforms a PKE into a KEM. Then we can use the encapsulated key to communicate via symmetric encryption.

Is this the way ElGamal is being implemented in every day life?


r/cryptography • • 17h ago

Would anything that breaks encryption (whether AI or quantum) break 2FA authenticator security? (among other things)

3 Upvotes

Maybe that's a dumb question, with all the panic going about regarding encryption-breaking I'm just trying to get a good idea of what would and wouldn't be affected. Is this purely an internet thing? Does it apply to the computer's own systems so the very software/OS of the computer is broken if encryption is? Etc?