apple patient
  • Home
  • News
  • Rumors
  • Tips & Tricks
  • Reviews
  • Insights
No Result
View All Result
  • Home
  • News
  • Rumors
  • Tips & Tricks
  • Reviews
  • Insights
No Result
View All Result
apple patient
No Result
View All Result

Apple releases post-quantum code on GitHub

by Milan
May 22, 2026
in News
Apple Post-Quantum corecrypto GitHub

Image: Shutterstock / metamorworks

Apple has released new source code for its corecrypto library on GitHub, revealing the foundations of its post-quantum cryptography for iPhone, Mac, and other devices. An accompanying technical article explains how Apple formally verified the correctness of these algorithms - and what flaws were uncovered in the process.

With its release on May 22, 2026, Apple is offering a deeper insight into the encryption architecture of its platforms than ever before. At its core is corecrypto – the cryptographic core library upon which the security frameworks of all Apple devices are built. This initiative continues Apple's unwavering commitment to data privacy, a commitment unmatched by any other major tech company – except that this time the focus is not on end-user features, but on the underlying mathematical foundations.

What Apple specifically released

The new GitHub repository contains the source code of corecrypto, the low-level library that powers Apple's security framework, CryptoKit, and CommonCrypto. It is responsible for encryption, hashing, random number generation, and digital signatures on iPhones, Macs, and all other Apple devices.

Included are Apple's implementations of ML-KEM and ML-DSA, the two post-quantum algorithms that Apple selected for corecrypto. Also included are tests, performance tools, build targets, and a dedicated folder for formal verification. The latter contains the proof-of-concept work and tools that Apple uses to verify that its implementation complies with FIPS 203 and FIPS 204 standards - the NIST standards for ML-KEM and ML-DSA, specifically designed to counter threats from future quantum computers.

ML-KEM serves to securely establish encryption keys, while ML-DSA handles digital signatures.

Background: PQ3 and the Post-Quantum Strategy

Apple's post-quantum work is not new. Back in 2024, the company publicly launched the PQ3 protocol for iMessage, which was introduced with iOS 17.4. PQ3 protects conversations against potential future attacks by quantum computers, both at the start and during regular key renewals.

Apple is thinking long-term: Even if practical quantum computers with sufficient computing power don't yet exist, stored encrypted data could be decrypted in the future as soon as the technology becomes available. This makes current post-quantum protection a preventative measure. Apple's commitment is also evident in its determination not to weaken encryption, even under government pressure – as was recently the case with the British iCloud regulations.

Why Apple developed its own verification tools

In the accompanying technical document, Apple explains why existing verification methods were insufficient. CoreCrypto must function across the entire Apple product range – including various Apple Silicon designs. Furthermore, the implementations include both portable C code and hand-optimized ARM64 assembler specifically tailored for Apple chips.

Apple therefore combines traditional testing, simulation, independent reviews, and its own formal verification work. The latter mathematically checks whether each sub-algorithm does exactly what the standards stipulate.

What the verification has already revealed

Apple explains that formal verification uncovered problems that traditional tests would not have found. An early ML-DSA implementation was missing a processing step - in rare cases, inputs could have exceeded the expected range of values, thus producing incorrect results. Traditional test suites would not have detected the error; in the worst case, the result would have been silently corrupted.

Furthermore, Apple discovered a flaw in a third-party proof approach, which the company was able to correct independently using its own parameters. Both cases demonstrate why Apple considers the additional effort of formal verification necessary.

Disclosure as an invitation to security researchers

Apple also provides a research paper detailing the approach, as well as its proprietary Cryptol-to-Isabelle translation tool and the Isabelle evidence files. These materials allow external experts to independently understand and verify Apple's work.

The release is more than just transparency for PR reasons. Apple is inviting the global crypto community to critically examine what has previously been kept secret. If vulnerabilities are identified early, all Apple devices will ultimately benefit. At the same time, the company is sending a clear signal to an industry where other major platforms are weakening rather than strengthening encryption standards.

Apple's crypto strategy is becoming tangible

This release reveals for the first time the depth of Apple's preparations for the post-quantum era. While end users benefit from PQ3 in iMessage, the methodical hardening of all encryption components continues in the background. The code on GitHub is not just documentation, but an open invitation to participate in the review process – a step that few tech companies take to this extent. (Image: Shutterstock / metamorworks)

  • Google appeals: Apple chose Google Search "fairly and honestly"
  • iOS 26.5.1 is in testing – release expected in the next few days
  • Apple becomes smartphone market leader for the first time in a first quarter
  • Chase launches in Germany – what that means for an Apple Card in this country
  • Apple is taking the Epic Games dispute to the Supreme Court
  • iPhone sales in Latin America: 31 percent growth, Mexico with record jump
  • Silo Season 3: New teaser reveals crucial twist for Juliette
  • Apple TV broadcasts its first major live sporting event entirely on iPhone 17 Pro
  • tvOS 27 brings enlarged text to the Apple TV 4K
  • Apple Music publishes open letter on its handling of AI music
  • iOS 27 automatically subtitles personal videos
  • Apple TV renews "Knife Edge: Chasing Michelin Stars" for season two
  • Eddy Cue is honored as "Entertainment Person of the Year" at Cannes Lions
  • App Store: Apple blocks over 2.2 billion dollars in fraudulent transactions in 2025
  • WhatsApp is testing messages that disappear after being read
  • Apple acquires Animato: Avatar technology and talent
  • Apple TV makes summer 2026 Snoopy's season
  • Anthropic expands Claude Managed Agents and brings in Andrej Karpathy
  • Apple Sports 4.0 is here: World Cup mode for the iPhone
Have you already checked out our Amazon Storefront? You'll find a hand-picked selection of various products for your iPhone and other devices there – enjoy browsing.
This post contains affiliate links.
Add Apfelpatient to your Google News Feed. 
Was this article helpful?
YesNo
Tags: DeveloperiOSiPadOSiPhonetvOSvisionOSwatchOS
Previous Post

Google appeals: Apple chose Google Search "fairly and honestly"

Apple releases post-quantum code on GitHub">
Apple Post-Quantum corecrypto GitHub

Apple releases post-quantum code on GitHub

May 22, 2026
Google Apple

Google appeals: Apple chose Google Search "fairly and honestly"

May 22, 2026
iOS 26.5.1 Apple

iOS 26.5.1 is in testing – release expected in the next few days

May 22, 2026

About APFELPATIENT

Welcome to your ultimate source for everything Apple - from the latest hardware like iPhone, iPad, Apple Watch, Mac, AirTags, HomePods, AirPods to the groundbreaking Apple Vision Pro and high-quality accessories. Dive deep into the world of Apple software with the latest updates and features for iOS, iPadOS, tvOS, watchOS, macOS and visionOS. In addition to comprehensive tips and tricks, we offer you the hottest rumors, the latest news and much more to keep you up to date. Selected gaming topics also find their place with us, always with a focus on how they enrich the Apple experience. Your interest in Apple and related technology is served here with plenty of expert knowledge and passion.

Legal

  • Imprint – About APFELPATIENT
  • Cookie Settings
  • Privacy Policy
  • Terms of Use

Service

  • Netiquette
  • Partner Program
  • Push Notifications

RSS Feed

Follow Apfelpatient:
Facebook Instagram YouTube threads threads
Apfelpatient Logo

© 2026 Apfelpatient. All rights reserved. | Sitemap

No Result
View All Result
  • Home
  • News
  • Rumors
  • Tips & Tricks
  • Reviews
  • Insights

© 2026 Apfelpatient. All rights reserved. Page Directory

Change language to Deutsch