CX contact tracing
libcx provides a Python abstraction for the data formats and
operations defined by the CX contact tracing
architecture.
import libcx
# Construct a Preseed Value and Preseed Key Pair
preseed = libcx.Preseed.value(libcx.CX_GEN_AES_128_CTR_2048)
key = libcx.Preseed.key()
# Construct a Seed Calculator
seedcalc = libcx.SeedCalculator(libcx.CX_GEN_AES_128_CTR_2048, preseed, key)
# Construct a Generator
gen = seedcalc.generator
# Construct a list of Contact Identifiers
ids = list(gen)
Metadata
Release files for libcx 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libcx-0.1.0.tar.gz | 543.7 kB | Details |
Release files / libcx-0.1.0.tar.gz
| Download URL | libcx-0.1.0.tar.gz |
|---|---|
| Size | 543.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1149c4537fc1baeab8c80081a16bac8de5992f3b620934880b2c7b054d1babf
|
|
BLAKE2b-256 checksum How to use checksums |
37b0a5eebee5f7c85450d9165984a79c6147efca65c81beb7532f7fabbd913ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|