Articles here
Benchmarking Your Own PQC Code: Measuring Right Matters More Than Measuring Fast
A wrong benchmark is worse than none at all. This tutorial covers PQC benchmarking methodology: timing the three operations separately, warm-up and medians, separating binding overhead from algorithm cost, and liboqs's bundled speed_kem and speed_sig tools.
liboqsBenchmarkingPerformanceProgramming
A Hybrid Key Exchange Skeleton: How X25519 and ML-KEM Fit Together
A complete code skeleton for hybrid key exchange with X25519 plus ML-KEM-768: two independent agreements, a combiner, transcript binding — and a clear account of how it relates to, and differs from, the TLS hybrid groups and X-Wing.
Hybrid Key ExchangeX25519ML-KEMProgramming
Verify Your PQC Wiring with KATs: Known Answer Tests for liboqs Builds
KATs pin an algorithm's entire output down with fixed inputs and a deterministic random source, producing answers that can be compared byte for byte. This tutorial explains the principle, liboqs's bundled KAT tools and hash lists, and how to validate a self-built library.
liboqsKATTestingProgramming
The KEM Three-Step with liboqs in C: Key Generation, Encapsulation, Decapsulation
Starting from OQS_KEM_new, this tutorial walks through the full liboqs C API flow for key generation, encapsulation and decapsulation, covering buffer sizes, status checks and secret-memory hygiene.
liboqsCML-KEMProgramming
Error-Handling Discipline for liboqs: Status Codes, Exceptions, and the Failures That Stay Silent
A systematic tour of OQS_STATUS return values in the C API, the two mechanism exceptions in the Python bindings, and the most dangerous failure class of all — decapsulation and verification paths that return wrong results without any error.
liboqsError HandlingProgrammingRobustness
Digital Signatures End to End with oqs-python: Generate, Sign, Verify, Export
Use the liboqs Python bindings to run the full ML-DSA-65 flow — key generation, signing, independent third-party verification and secret-key export — with the details dict and correct verifier construction explained.
liboqs-pythonML-DSADigital SignaturesProgramming
Serializing PQC Keys and Ciphertexts: Design a Storage Format That Won't Bite You
liboqs hands you raw byte strings; the on-disk format is yours to design. This tutorial builds a self-describing container with an algorithm identifier and length prefixes, and covers versioning, permissions and cross-parameter-set discipline.
liboqsSerializationKey ManagementProgramming
Wiring a KEM into a Toy Protocol: From Key Agreement to an Encrypted Conversation
Assemble a working two-party encrypted channel from four parts — ML-KEM agreement, HKDF derivation, key confirmation and AES-GCM encryption — with every gap between this toy and a real protocol labelled in place.
ML-KEMProtocol DesignHKDFProgramming