qmetrics.net

liboqs

C library for quantum-safe KEM and signature algorithms

liboqs screenshot

liboqs implements post-quantum key encapsulation and signature schemes behind one C API. It includes tests and benchmarks for research and prototyping, not production reliance.

Overview

liboqs is an open source C library for quantum-safe cryptography. It collects implementations of key encapsulation mechanisms and digital signature algorithms, including stateful signature schemes, and exposes them through a common API suitable for experimentation and integration work.

The library is part of the Open Quantum Safe (OQS) effort, which also prototypes use in protocols such as TLS and X.509 via OpenSSL provider integrations and related demos. Algorithm support follows the NIST post-quantum standardization process; standardized names such as ML-KEM, ML-DSA, and SLH-DSA are called out as stable relative to other experimental entries. Build-time options can limit which algorithms are compiled in.

Shipped programs include correctness tests, known-answer test generators aligned with NIST submission procedures, speed benchmarks, and minimal KEM and signature examples. Documentation can be generated as HTML from the build. Linux, macOS, and Windows builds are described, with optional OpenSSL 3 for symmetric primitives.

Upstream materials warn that the library is intended for research and prototyping, not securing sensitive production data, and recommend hybrid classical-plus-PQC deployments when early adoption is considered. Community maintenance is on a best-effort basis without commercial support guarantees.

Key features

  • Unified C API for PQC KEMs and signatures
  • ML-KEM, ML-DSA, and SLH-DSA among families
  • Stateful signature scheme support
  • Test harnesses and benchmarking tools
  • Configurable enabled algorithm set
  • Known-answer test generation utilities
  • Open Quantum Safe ecosystem integration
  • Static or shared library builds

Use cases

  • Prototyping post-quantum TLS or applications
  • Benchmarking PQC algorithm performance
  • Research on NIST PQC candidate implementations
  • Teaching and interoperability experiments
  • Building hybrid cryptography proofs of concept

Tags

Similar software

OpenSSL Library

General-purpose TLS, QUIC, and cryptography toolkit

Toolkit implementing TLS, DTLS, and QUIC plus a standalone cryptographic library. Includes a command-line tool for certificates, digests, encryption, and protocol tests.

★ 31.6k⟳ yesterdayApache-2.0
Application SecurityDesktop/CLI app

CryptoSwift

Pure Swift cryptographic primitives and utilities library

CryptoSwift implements standard cryptographic algorithms in Swift for hashing, ciphers, message authentication, and key derivation. It integrates via Swift Package Manager and targets Apple platforms, Linux, and Android.

★ 10.6k⟳ 3 months agoZlib
Application SecurityDesktop/CLI app

Device Activity Tracker

Research PoC for messenger delivery-receipt activity leaks

Device Activity Tracker measures message delivery round-trip times on WhatsApp and Signal to infer active, standby, or offline device states for security research.

★ 5.3k⟳ 11 months agoMIT · open core

Microsoft SEAL

C++ homomorphic encryption library for private cloud computation

Microsoft SEAL is an open-source homomorphic encryption library in modern C++. It lets programs add and multiply encrypted integers or approximate encrypted real numbers.

★ 4.1k⟳ 1 month agoMIT
Application SecurityDesktop/CLI app

jsrsasign

Pure JavaScript cryptography and PKI toolkit

jsrsasign implements signing, validation, certificates, CMS, timestamps, and JWS/JWT/JWK handling in JavaScript with no external crypto dependencies.

★ 3.4k⟳ 29 days agoMIT
Application SecurityDesktop/CLI app

Swift Crypto

Open-source CryptoKit-style cryptography for Swift across platforms

Swift Crypto implements much of the Apple CryptoKit API for Linux and other non-Apple platforms, with a CryptoExtras module for extra server-oriented APIs.

★ 1.7k⟳ 4 days agoApache-2.0
Application SecurityDesktop/CLI app