Source-available post-quantum messenger – crypto core on GitHub
FreeAbout Source-available post-quantum messenger – crypto core on GitHub
PhantomChatCrypto is the cryptographic core of the Phantom Chat messenger (by Veilus Digital), extracted verbatim from the iOS app and made source-available for public review. It implements post-quantum key encapsulation (ML-KEM-768 / FIPS 203), hash functions (SHA3-256/512, SHAKE128/256 / FIPS 202), a hybrid key exchange combining classical X3DH with Kyber (PQXDH), and the Signal Double Ratchet for forward secrecy. All code is written in pure Swift and includes a comprehensive test suite with known-answer tests, correctness checks, and interoperability tests against Apple's CryptoKit (macOS 26+). The authors explicitly state the implementation has not yet undergone a paid third-party audit and invite scrutiny. The repository is provided under a source-available license that permits review and compilation but prohibits reuse in other products.
Key Features
Pros & Cons
- Source-available for public review and verification
- Implements standard, published algorithms (FIPS 202, FIPS 203, Signal Double Ratchet/X3DH)
- Clean-room implementation, not a fork of libsignal or liboqs
- Comprehensive test suite with NIST known-answer tests and interop tests
- Honest about the lack of a paid third-party audit, encouraging community scrutiny
- Free and open to compile and run for reviewers
- Has not undergone a paid third-party security audit
- Interop tests require macOS 26 or later (older OS versions skip them)
- License restricts reuse in other products (source-available, not fully open source)
- Only the cryptographic core is open; the app backend and full app remain closed-source