Skip to content

TQ42 Cryptography is a comprehensive suite of quantum-resistant and asymmetric post-quantum encryption algorithms and key management functions offered under the open source AGPLv3 license and available under a Commercial license from Terra Quantum.

License

Notifications You must be signed in to change notification settings

terra-quantum-public/tq42-pqc-oss

Repository files navigation

TQ42_Cryptography_Banner.png

Documentation  •  Getting Started  •  Use Cases  •  API reference

Introduction to TQ42 Cryptography

TQ42 Cryptography by Terra Quantum is a comprehensive, low-level cryptography library designed to cover Encryption, Hashing, Electronic Signatures, and Key Management Systems. It is specifically crafted to help individual developers, businesses, and governmental entities prepare for the quantum era and enhance the security of their data, and expands upon the existing functionality offered in TQ42, the quantum-as-a-service ecosystem by Terra Quantum.

This open-source C++ library offers a unified API for both post-quantum (PQ) and quantum-resistant algorithms, as well as key generation and management functions. View the documentation.

The library will expand to include support for additional languages (e.g., Python, iOS, Android), additional post-quantum algorithms, and upgrade options, like the ability to purchase quantum keys generated from Terra Quantum's proprietary Single Photon Quantum Random Number Generator (QRNG), which is designed and implemented according to the latest NIST standard (SP 800-90B) and certified by METAS.

CAVP Certificates

The TQ42 Cryptography v0.2.2 implementations of the Post-Quantum algorithms ML-KEM, ML-DSA, and SLH-DSA, comply with the latest NIST standards (FIPS 203, 204, and 205). These algorithms have also been validated through the NIST Cryptographic Algorithm Validation Program (CAVP). For further details, please visit the NIST CAVP webpage.

The validation process spans multiple operating systems and hardware configurations, including:

  • Red Hat 9.4
  • Ubuntu 24.04
  • Windows 11
  • Windows 2022
  • IOS 17.5.1
  • Android 14

Advanced Quantum Security

Terra Quantum offers advanced quantum security products, including the Terra Quantum Secure Network (TQSN), a novel solution for organizations looking for full security via Quantum Key Distribution (QKD), a revolutionary technology that leverages the quantum mechanical properties of light and allows for the distribution of cryptographic keys with absolute security, making decryption impossible. Terra Quantum's patented Secure Network solution (TQSN) works well over long distances with high bit rates. It is the world's first scalable, zero-trust Secure Network for global communications. Visit terraquantum.swiss to learn more, or contact us at [email protected].

TQ42 Cryptography Features

Included Features

Details on the library contents can be found in the documentation. Library contents are subject to change.

TQ42_Cryptography_Infographic.png

Classic Quantum-Resistant Algorithms

Hash Function:

  • SHA-3 (all modes: 224, 256, 384, 512, SHAKE-128, SHAKE-256)

Symmetric Encryption:

  • AES-256 (modes: GCM, ECB, CBC, OFB, CTR)

Post-Quantum Algorithms

Key Encapsulation Mechanism:

Digital Signature:

  • SLH-DSA (modes: SLH-DSA-SHAKE-128s, SLH-DSA-SHAKE-128f, SLH-DSA-SHAKE-192s, SLH-DSA-SHAKE-192f, SLH-DSA-SHAKE-256s, SLH-DSA-SHAKE-256f)
  • ML-DSA (modes: ML-DSA-44, ML-DSA-65, ML-DSA-87)
  • Falcon padded 1024

Key Management

Licenses

The TQ42 Cryptography library is available under two primary licensing options to accommodate the diverse needs of organizations at different stages of their post-quantum migration journeys:

  • Free Use is permitted under AGPLv3
  • A Commercial license is available by contacting Terra Quantum at [email protected]

Contributions will be welcomed in the near future under a Contributor license.