https://github.com/alan-turing-institute/dpht

Differentially Private Health Tokens (for Estimating COVID-19 Risk)

https://github.com/alan-turing-institute/dpht

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Differentially Private Health Tokens (for Estimating COVID-19 Risk)

Basic Info
  • Host: GitHub
  • Owner: alan-turing-institute
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 127 KB
Statistics
  • Stars: 1
  • Watchers: 7
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 6 years ago · Last pushed about 6 years ago
Metadata Files
Readme License

README.md

Differentially Private Health Tokens (DPHT)

Paper

The latest DPHT paper can be found at arXiv. The authors welcome feedback and may be contacted by email using the details in the paper or by clicking the following link.

Proof of concept implementation

This repository includes a simple reference implementation (in Python3), and proof-of-concept, of the DPHT proposal. In particular, we currently demonstrate the feasibility of our health tokens and evaluate the error introduced by differential privacy for different values of epsilon. To generate an example health token run GenerateQRToken.py, to verify run VerifyQRToken.py. Credentials, which can be displayed as standard QR codes, are signed using ECDSA over brainpoolP512r1 and comprise a randomised user token. Credentials are completely self-contained and can be verified offline, without interacting with the signer. Revocation is based on distributing revoked CIDs to verifiers. The associated error analysis is generated when GenerateQRToken.py is run. The value of epsilon can, of course, be altered.

  • Example credential comprising a random user health token and a valid 512-bit ECDSA signature:
Example DPHT QR code


  • Example simulation for a range of 1 to 200 users, iterated 50 times:
Example DPHT simulation


Running the code

The requirements.txt file contains all dependencies. To run the implementation you can use the following commands.

virtualenv venv source venv/bin/activate pip install -r requirements.txt python3 Generate_QR_Token.py python3 Verify_QR_Token.py

Owner

  • Name: The Alan Turing Institute
  • Login: alan-turing-institute
  • Kind: organization
  • Email: info@turing.ac.uk

The UK's national institute for data science and artificial intelligence.

GitHub Events

Total
  • Issues event: 1
Last Year
  • Issues event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 8
  • Total Committers: 3
  • Avg Commits per committer: 2.667
  • Development Distribution Score (DDS): 0.5
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Chris Hicks c****s@t****k 4
David Butler d****d@q****h 3
mathsjames j****1@h****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mhauru (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • image *
  • matplotlib *
  • numpy *
  • opencv-python *
  • pyOpenSSL *
  • pyzbar *
  • qrcode *
  • zbar-py *
  • zbarlight *