25 releases (14 breaking)

0.15.0 Apr 14, 2022
0.14.2 Sep 20, 2021
0.14.0 Jun 10, 2021
0.13.0 Feb 26, 2021
0.6.2 Jul 24, 2019

#44 in Cryptography

Download history 997/week @ 2022-04-22 1171/week @ 2022-04-29 1210/week @ 2022-05-06 1149/week @ 2022-05-13 1009/week @ 2022-05-20 962/week @ 2022-05-27 1451/week @ 2022-06-03 564/week @ 2022-06-10 772/week @ 2022-06-17 1695/week @ 2022-06-24 1756/week @ 2022-07-01 1258/week @ 2022-07-08 2045/week @ 2022-07-15 2360/week @ 2022-07-22 2549/week @ 2022-07-29 2720/week @ 2022-08-05

9,974 downloads per month
Used in 7 crates (5 directly)

MIT/Apache

362MB
9.5M SLoC

GNU Style Assembly 6M SLoC // 0.0% comments C 3.5M SLoC // 0.2% comments Rust 42K SLoC // 0.0% comments Python 14K SLoC // 0.1% comments Happy 3.5K SLoC SWIG 3.5K SLoC // 0.0% comments INI 41 SLoC

Post-Quantum cryptographic algorithms

This project contains Post-Quantum cryptographic algorithms that participate in the NIST PQC standardization effort. It is currently a collection of wrappers around C implementations from the PQClean project.

Insecure algorithms

This crate contains optional support for insecure algorithms. They can be enabled via the cryptographically-insecure flag.

This crate also contains algorithms that have non-constant time implementations. Always check the relevant algorithms for their security details.

Included algorithms

This super-crate contains the following cryptographic algorithms:

Key-Encapsulation Mechanisms

Signature Schemes

Serialization

If you want serde support, enable the serialization feature. You may also enable it for individual algorithms via pqcrypto-{alg}/serialization.

License

The wrappers and wrapper generation scripts in this project are covered by the MIT or Apache 2.0 licenses, at your choice.

The implementations we link to are not, however. Please see the PQClean project for the appropriate licenses.

Dependencies