liboqs is a C library for prototyping and experimenting with quantum-resistant cryptographic algorithms.
The library addresses the threat posed by quantum computers to current cryptographic systems by providing implementations of post-quantum cryptographic algorithms. It offers a collection of open source implementations of quantum-safe key encapsulation mechanisms and digital signature algorithms, along with a common API for accessing them. The library includes a test harness and benchmarking routines to facilitate evaluation and comparison of these algorithms. As part of the broader Open Quantum Safe project, liboqs serves as a foundation for integrating quantum-safe cryptography into real-world applications and protocols.
Developers should consider liboqs if they need to prototype or experiment with post-quantum cryptography, or if they want to begin preparing systems for the eventual transition away from classical cryptographic algorithms. The library is particularly suited for research, testing, and integration into applications that require forward-looking security postures. It supports multiple algorithm families including key encapsulation mechanisms and signature schemes, with some algorithms standardized by NIST while others remain experimental. The tool allows fine-grained control over which algorithms are built into a deployment through configuration options.
The project maintains active development with regular updates to algorithm implementations and support for newly standardized cryptographic schemes. The library provides detailed documentation for each supported algorithm, including information about NIST levels, constant-time properties, and formal verification status. The project is backed by the Post-Quantum Cryptography Alliance and the Linux Foundation, ensuring sustained attention to the evolving landscape of post-quantum cryptography standards and implementations.