Quantum computers will one day break the encryption protecting your messages. Apple is preparing for that now and they just made their work public.
Apple has open-sourced the post-quantum cryptography code from corecrypto, the encryption library running on over 2.5 billion Apple devices. It protects iMessage, VPNs, and HTTPS connections.
Here is why this matters.
Most encryption used today relies on math problems that regular computers find nearly impossible to solve. Quantum computers can solve those same problems with ease. They do not exist yet at the scale needed, but the threat is considered real enough that governments and major tech companies are already preparing.
The solution is post-quantum cryptography, a new generation of algorithms designed to resist quantum attacks. Apple has picked two of the NIST-standardised ones: ML-KEM and ML-DSA.
By open-sourcing the code and the mathematical proofs behind it, Apple is letting independent experts verify that there are no hidden flaws. This is a big deal because a single bug in corecrypto could compromise the security of every app and feature running on 2.5 billion devices.
And independent review already proved its value here. During formal verification, researchers found a flaw in an early implementation that standard testing would have missed entirely.
This is how security should work. Build it in public, let others verify it, fix what gets found.
Apple does not always get credit for open-source contributions. This one deserves it.