Implementing Post-quantum Cryptography for Developers
Open Access
- 29 April 2023
- journal article
- research article
- Published by Springer Nature in SN Computer Science
- Vol. 4 (4) , 1-14
Abstract
Widely used public key cryptography is threatened by the development of quantum computers. Post-quantum algorithms have been designed for the purpose of protecting sensitive data against attacks with quantum computers. National Institute of Standards and Technology has recently reached the end of the third round of post-quantum standardization process and has published three digital signatures and one key encapsulation mechanism for standardization. Three of the chosen algorithms are based on lattices. When implementing complex cryptographic algorithms, developers commonly use cryptographic libraries in their solutions to avoid mistakes. However, most of the open-source cryptography libraries do not yet have post-quantum algorithms integrated in them. We chose a C++ cryptography library, Crypto++, and created a fork where we integrated four lattice-based post-quantum algorithms. We analyzed the challenges in the process as well as the performance, correctness and security of the implemented algorithms. The performance of the integrated algorithms was overall good, but the integration process had its challenges, many of which were caused by the mathematical complexity of lattice-based algorithms. Different open-source implementations of post-quantum algorithms will be essential to their easier use for developers. Usability of the implementations is also important to avoid possible mistakes when using the algorithms.Keywords
Funding Information
- Business Finland (Diary number 7188/31/2019)
- Technical Research Centre of Finland
This publication has 43 references indexed in Scilit:
- Worst-case to average-case reductions for module latticesDesigns, Codes and Cryptography, 2014
- Pseudorandom Functions and Lattices2012
- The Security Impact of a New Cryptographic Library2012
- XMSS - A Practical Forward Secure Signature Scheme Based on Minimal Security Assumptions2011
- On Ideal Lattices and Learning with Errors over Rings2010
- Implementing the Rivest Shamir and Adleman Public Key Encryption Algorithm on a Standard Digital Signal Processor2000
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum ComputerSIAM Journal on Computing, 1997
- Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems1996
- Modular multiplication without trial divisionMathematics of Computation, 1985
- A method for obtaining digital signatures and public-key cryptosystemsCommunications of the ACM, 1978