Swift Crypto

An open-source, cross-platform implementation of CryptoKit APIs, providing post-quantum cryptographic APIs for Swift server applications.

HomepageLatest post-quantum change: 4.0.0

Current support

ML-DSA
ML-KEM

Version 4.0.0 updates the API to the WWDC25 CryptoKit functionality, including ML-KEM, ML-DSA and X-Wing, and adopts Swift 6 mode.

The Crypto module uses system CryptoKit on Apple platforms and its bundled BoringSSL implementation on Linux and Windows. Availability on Apple platforms also depends on the operating system version. CryptoExtras supplies additional server-oriented APIs; check dependencies and implementation for the module actually used.

The algorithm APIs support application-layer encryption and signing. Check the TLS implementation and configuration used for network connections separately.

Release history

Only releases that changed post-quantum support are listed. Each links to its evidence, such as release notes, official documentation or source code.

  1. 4.0.0