CryptoDataHub is a repository of cryptography-related data available under a free license. The main goal of the repository is to support cryptographic library tester and client/server cryptographic settings analyzer applications such as CryptoLyzer with reliable and freely available data.
Use CryptoDataHub when you need algorithm identifiers — public key, digital signature, key exchange, block cipher, stream cipher, cryptographic hash, elliptic-curve, and message authentication code algorithms are available as enumerations with their code points, names, and parameters.
Use CryptoDataHub when you need Diffie-Hellman parameters — both the finite field parameters defined by RFC 2539, RFC 3526, RFC 5114, and RFC 7919, and the ones built into Apache HTTP Server, HAProxy, Postfix, ProFTPD, and socat.
Use CryptoDataHub when you need trust stores — the trusted root certification authority certificate stores of Android, Apple, Google Chrome, Microsoft, Mozilla, OpenJDK, and Oracle, and the Certificate Transparency log list.
Use CryptoDataHub when you need vulnerability data — the algorithms and parameters affected by D(HE)at, Logjam, Sweet32, Shatter, and Weak DH are marked in the data itself.
The strength of CryptoDataHub is that the data is machine-readable, versioned, and updated from its original sources by the updaters shipped with the repository, so a consumer does not have to scrape registries, vendor pages, or trust store exports on its own.
Why CryptoDataHub?
- Free license — the data is available under the same license as the code, without a per-consumer agreement.
- One source for several protocols — protocol-independent algorithm data and the protocol-dependent attributes of IKE, SSL, TLS, SSH, and DNSSEC live in one repository.
- Wrapper included — the data ships with a Python wrapper, so it can be consumed as typed enumerations instead of as raw JSON.
- Reproducible updates —
update-ct-logandupdate-trust-storesregenerate the data from its original sources.
Usage
uv
uv add cryptodatahub
from cryptodatahub.tls.algorithm import TlsCipherSuite
# look up a cipher suite by its code point
TlsCipherSuite.from_code(0x1301)
# TlsCipherSuite.TLS_AES_128_GCM_SHA256
Support
Python implementations
- CPython 3.9+
- PyPy 3.9+
Operating systems
- Linux
- macOS
- Windows
Documentation
Detailed documentation is available on the project's Read the Docs site.
License
The code is available under the terms of Mozilla Public License Version 2.0 (MPL 2.0).
A non-comprehensive but straightforward description of MPL 2.0 can be found at the Choose an open source license website.
Credits
- NLnet Foundation and NGI Assure, supports the project part of the Next Generation Internet initiative.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cryptodatahub-1.6.0.tar.gz.
File metadata
- Download URL: cryptodatahub-1.6.0.tar.gz
- Upload date:
- Size: 692.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc37d7629ec9e8e4fbd926732ca350c50ae560c69e5bb7b48022a481fabc407c
|
|
| MD5 |
0a9924f95f3d14e898b27d67934dbea4
|
|
| BLAKE2b-256 |
c744d76fc5a7874350fe75101a35d69cfda30c4cefa4e2ce4d1af8b706316cbc
|
File details
Details for the file cryptodatahub-1.6.0-py3-none-any.whl.
File metadata
- Download URL: cryptodatahub-1.6.0-py3-none-any.whl
- Upload date:
- Size: 613.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5fa21c276e4fd33cdb11ca83a89060419bc020e655794e3cdaf5af18ce59d0e
|
|
| MD5 |
1fd59c83e5abac4a69f95716c3e7c8a2
|
|
| BLAKE2b-256 |
6315a69a18a5df6df353cb6bcb1c1ec6022a5a53158f5aa1cd48d96470cf5e8d
|