ArticleslgStudy

computer science

Decentralized Privacy-Preserving Proximity Tracing

Decentralized Privacy-Preserving Proximity Tracing is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Decentralized Privacy-Preserving Proximity Tracing rather than just read about it. In short: Decentralized Privacy-Preserving Proximity Tracing (DP-3T, stylized as dp3t) is an open protocol developed in response to the COVID-19 pandemic to facilitate digital contact tracing of infected participants. The protocol, like competing protocol Pan-European Privacy-Preserving Proximity Tracing (PEPP-PT), uses Bluetooth Low Energy to track and log encounters with other users.

Decentralized Privacy-Preserving Proximity Tracing — main illustration
Decentralized Privacy-Preserving Proximity Tracing — illustration

Key takeaways

  • Decentralized Privacy-Preserving Proximity Tracing belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Decentralized Privacy-Preserving Proximity Tracing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Decentralized Privacy-Preserving Proximity Tracing from memory before moving on to harder problems.

Reference excerpt

Decentralized Privacy-Preserving Proximity Tracing (DP-3T, stylized as dp3t) is an open protocol developed in response to the COVID-19 pandemic to facilitate digital contact tracing of infected participants. The protocol, like competing protocol Pan-European Privacy-Preserving Proximity Tracing (PEPP-PT), uses Bluetooth Low Energy to track and log encounters with other users. The protocols differ in their reporting mechanism, with PEPP-PT requiring clients to upload contact logs to a central reporting server, whereas with DP-3T, the central reporting server never has access to contact logs nor is it responsible for processing and informing clients of contact. Because contact logs are never transmitted to third parties, it has major privacy benefits over the PEPP-PT approach; however, this comes at the cost of requiring more computing power on the client side to process infection reports. The Apple/Google Exposure Notification project is based on similar principles as the DP-3T protocol, and supports a variant of it since May 2020. Huawei added a similar implementation of DP-3T to its Huawei Mobile Services APIs known as "Contact Shield" in June 2020. The DP-3T SDK and calibration apps intend to support the Apple/Google API as soon as it is released to iOS and Android devices. On the 21 April 2020, the Swiss Federal Office of Public Health announced that the Swiss national coronavirus contact tracing app will be based on DP-3T. On the 22 April 2020, the Austrian Red Cross, leading on the national digital contact tracing app, announced its migration to the approach of DP-3T. Estonia also confirmed that their app would be based on DP-3T. On April 28, 2020, it was announced that Finland was piloting a version of DP-3T called "Ketju". In Germany, a national app is being built upon DP-3T by SAP SE and Deutsche Telekom alongside CISPA, one of the organisations that authored the protocol. As of September 30, 2020, contact tracing apps using DP-3T are available in Austria, Belgium, Croatia, Germany, Ireland, Italy, the Netherlands, Portugal and Switzerland.

Overview The DP-3T protocol works off the basis of Ephemeral IDs (EphID), semi-random rotating strings that uniquely identify clients. When two clients encounter each other, they exchange EphIDs and store them locally in a contact log. Then, once a user tests positive for infection, a report is sent to a central server. Each client on the network then collects the reports from the server and independently checks their local contact logs for an EphID contained in the report. If a matching EphID is found, then the user has come in close contact with an infected patient, and is warned by the client. Since each device locally verifies contact logs, and thus contact logs are never transmitted to third parties, the central reporting server cannot by itself ascertain the identity or contact log of any client in the network. This is in contrast to competing protocols like PEPP-PT, where the central reporting server receives and processes client contact logs.

Ephemeral ID

Similar to the TCN Protocol and its Temporary Contact Numbers, the DP-3T protocol makes use of 16 byte Ephemeral IDs (EphID) to uniquely identify devices in the proximity of a client. These EphIDs are logged locally on a receiving client's device and are never transmitted to third parties. To generate an EphID, first a client generates a secret key that rotates daily (SKt) by computing SKt=H(SKt−1), where H() is a cryptographic hash function such as SHA-256. SK0 is calculated by a standard secret key algorithm such as Ed25519. The client will use SKt during day t to generate a list of EphIDs. At the beginning of the day, a client generates a local list of size n=(24∗60)/l new EphIDs to broadcast throughout the day, where l is the lifetime of an EphID in minutes. To prevent malicious third parties from establishing patterns of movement by tracing static identifiers over a large area, EphIDs are rotated frequently. Given the secret day key SKt, each device computes S_EphID(BK)=PRG(PRF(SKt,BK)), where BK is a global fixed string, PRF() is a pseudo-random function like HMAC-SHA256, and PRG() is a stream cipher producing n∗16 bytes. This stream is then split into 16-byte chunks and randomly sorted to obtain the EphIDs of the day.

Technical specification The DP-3T protocol is made up of two separate responsibilities, tracking and logging close range encounters with other users (device handshake), and the reporting of those encounters such that other clients can determine if they have been in contact with an infected patient (infection reporting). Like most digital contact tracing protocols, the device handshake uses Bluetooth Low Energy to find and exchange details with local clients, and the infection reporting stage uses HTTPS to upload a report to a central reporting server. Additionally, like other decentralized reporting protocols, the central reporting server never has access to any client's contact logs; rather the report is structured such that clients can individually derive contact from the report.

Device handshake In order to find and communicate with clients in proximity of a device, the protocol makes use of both the server and client modes of Bluetooth LE, switching between the two frequently. In server mode the device advertises its EphID to be read by clients, with clients scanning for servers. When a client and server meet, the client reads the EphID and subsequently writes its own EphID to the server. The two devices then store the encounter in their respective contact logs in addition to a coarse timestamp and signal strength. The signal strength is later used as part of the infection reporting process to estimate the distance between an infected patient and the user.

… excerpt ends here. Continue reading the full article.

Illustrations

Decentralized Privacy-Preserving Proximity Tracing: A diagram demonstrating how the different components of the Ephemeral ID algorithm feed into each other
A diagram demonstrating how the different components of the Ephemeral ID algorithm feed into each other

Worked examples

Example 1 — a first encounter with Decentralized Privacy-Preserving Proximity Tracing

Start with the simplest possible case. Write down what Decentralized Privacy-Preserving Proximity Tracing claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Decentralized Privacy-Preserving Proximity Tracing before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Decentralized Privacy-Preserving Proximity Tracing ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Decentralized Privacy-Preserving Proximity Tracing

In research
Decentralized Privacy-Preserving Proximity Tracing appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Decentralized Privacy-Preserving Proximity Tracing in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Decentralized Privacy-Preserving Proximity Tracing is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2020 software, Application layer protocols, COVID-19 pandemic in Europe, so understanding it makes those chapters shorter.
In everyday life
Look for Decentralized Privacy-Preserving Proximity Tracing outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Decentralized Privacy-Preserving Proximity Tracing” →

How to study Decentralized Privacy-Preserving Proximity Tracing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Decentralized Privacy-Preserving Proximity Tracing means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Decentralized Privacy-Preserving Proximity Tracing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Decentralized Privacy-Preserving Proximity Tracing in simple terms?

Decentralized Privacy-Preserving Proximity Tracing (DP-3T, stylized as dp3t) is an open protocol developed in response to the COVID-19 pandemic to facilitate digital contact tracing of infected participants. The protocol, like competing protocol Pan-European Privacy-Preserving Proximity Tracing (PE…

Why does Decentralized Privacy-Preserving Proximity Tracing matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Decentralized Privacy-Preserving Proximity Tracing?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Decentralized Privacy-Preserving Proximity Tracing.

Tags

  • 2020 software
  • Application layer protocols
  • COVID-19 pandemic in Europe
  • Digital contact tracing protocols
  • Digital contact tracing protocols with decentralized reporting
  • Software associated with the COVID-19 pandemic
  • Software using the Apache license
  • Software using the Mozilla Public License

Keep exploring