CX contact tracing
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
libcx-0.1.0.tar.gz
(543.7 kB
view details)
File details
Details for the file libcx-0.1.0.tar.gz.
File metadata
- Download URL: libcx-0.1.0.tar.gz
- Upload date:
- Size: 543.7 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1149c4537fc1baeab8c80081a16bac8de5992f3b620934880b2c7b054d1babf
|
|
| MD5 |
4d237599a808f5af9241649cbbb3e612
|
|
| BLAKE2b-256 |
37b0a5eebee5f7c85450d9165984a79c6147efca65c81beb7532f7fabbd913ca
|