Information-theoretic privacy: consolidated formalization · Chapter 10 of 22

6. A complete four-round example

On this page
  1. Setup and public challenges
  2. The exchange
  3. Bob’s verification
  4. Authorized extraction
  5. Eve’s observation
  6. The nonce’s entropy and burn trace in this example

Setup and public challenges

Alice’s secret is C, chosen from L={A,B,C,D}\mathcal L=\{A,B,C,D\}. Put these symbols on one ring in the order (A,B,C,D)(A,B,C,D), at positions 0,1,2,30,1,2,3. There is one secret position and two cells, so ℓ=1\ell=1, H=2H=2, n1=4n_1=4, and d1=2d_1=2. Bob holds the enrolled credential. Eve records the public challenges and transmitted responses. Alice’s device and Bob privately share the masking values.

Alice’s private dictionary swaps the two cell numbers:

φ(0)=1,φ(1)=0.\varphi(0)=1,\qquad\varphi(1)=0.

For this small arithmetic example, sample a four-bit candidate nonce and take the realized value νe=12\nu_e=12, written 11001100 in binary. Bob confirms that this full nonce has not already been allocated in the current epoch, meaning the current persistent namespace for event identifiers. Choose public increments δ1,1=0\delta_{1,1}=0 and δ1,2=3\delta_{1,2}=3. Then

oe,1,1=12 mod 4=0,oe,1,2=(12+3) mod 4=3.(P3)o_{e,1,1}=12\bmod4=0, \qquad o_{e,1,2}=(12+3)\bmod4=3. \tag{P3}

For Alice’s C, the projected slots are (2+0) mod 4=2(2+0)\bmod4=2 and (2+3) mod 4=1(2+3)\bmod4=1. Dividing by two and rounding down gives cell indices 1,01,0.

The two public data frames are consequently:

Challenge Cell 0 Cell 1 Cell containing Alice’s C
Frame 1 A, B C, D 1
Frame 2 B, C D, A 0

The last column explains Alice’s private choice. These frames distinguish every possible symbol:

Symbol Cell in Frame 1 Cell in Frame 2
A 0 1
B 0 0
C 1 0
D 1 1

Every row has a different cell sequence, establishing the required separation condition.

The exchange

Alice performs two calibration rounds followed by the two data rounds. The table exposes the private values to the reader so the arithmetic can be checked. Eve observes the public challenge and transmitted response columns during the protocol.

Public challenge Selected cell Private response ww Private mask Transmitted response
Calibrate cell 0 0 1 1 0
Calibrate cell 1 1 0 1 1
Frame 1: locate secret 1 0 0 0
Frame 2: locate secret 0 1 1 0

Each transmitted response is the sum of the private response and mask, modulo two. An even sum gives zero; an odd sum gives one. The masking bits are independent draws; independently drawn bits can have equal numerical values.

In calibration-then-data order, the combined released word VV and private mask vector MM are

V=(0,1,0,0),M=(1,1,0,1).(11)\boxed{V=(0,1,0,0)},\qquad M=(1,1,0,1). \tag{11}

Bob’s verification

Bob subtracts the masks coordinate by coordinate, modulo two:

(V−M) mod 2=((0,1,0,0)−(1,1,0,1)) mod 2=(1,0,0,1).(12)(V-M)\bmod 2 =\bigl((0,1,0,0)-(1,1,0,1)\bigr)\bmod 2 =(1,0,0,1). \tag{12}

The first two values, 1,01,0, match the enrolled dictionary’s responses for calibration cells 0,10,1. The remaining values, 0,10,1, decode through the dictionary to cells 1,01,0. These are exactly the cells containing C in the two data frames. Every check succeeds, so Bob accepts.

Authorized extraction

An extractor given the masks begins with the calibration values:

φ^(0)=(0−1) mod 2=1,φ^(1)=(1−1) mod 2=0.(13)\widehat\varphi(0)=(0-1)\bmod 2=1, \qquad \widehat\varphi(1)=(1-1)\bmod 2=0. \tag{13}

Using that recovered dictionary, the data responses identify cell 1 in Frame 1 and cell 0 in Frame 2. Their intersection is

{C,D}∩{B,C}={C}.(14)\boxed{\{C,D\}\cap\{B,C\}=\{C\}.} \tag{14}

The extractor has recovered both the dictionary and the secret without initially receiving either credential component.

Eve’s observation

There are sixteen equally likely four-bit mask vectors. For every candidate secret and dictionary, exactly one of those masks produces the recorded word (0,1,0,0)(0,1,0,0). Consequently,

Pr⁡[V=(0,1,0,0)∣k,φ,G]=116(15)\boxed{ \Pr[V=(0,1,0,0)\mid k,\varphi,G]=\frac1{16} } \tag{15}

for every credential pair in this example. The same statement holds for every other four-bit released word. Eve’s recording therefore leaves her prior credential probabilities unchanged.

An exhaustive finite check across all sixteen candidate nonces, all four secrets, both dictionaries, and all sixteen mask vectors confirms that, for each fixed nonce and credential pair, every four-bit released word occurs exactly once. Each nonce also produces a separating pair of ring frames. This check illustrates the general proof in Equation (10).

The nonce’s entropy and burn trace in this example

Before the first event is allocated, the candidate nonce has sixteen equally likely values, giving four bits of entropy. Its projection depends only on its residue modulo four:

Candidate nonces Ring offsets in the two data frames
0, 4, 8, 12 (0,3)(0,3)
1, 5, 9, 13 (1,0)(1,0)
2, 6, 10, 14 (2,1)(2,1)
3, 7, 11, 15 (3,2)(3,2)

There are four equally likely offset sequences, giving two bits of projection entropy. The two offsets are correlated outputs of the same nonce. Publishing the full nonce makes its value known to Eve. The independently generated mask vector M=(1,1,0,1)M=(1,1,0,1) contributes four bits of fresh secret masking entropy before the response is released.

Stage State of event (epoch,12)(\text{epoch},12) Treatment of its private mask bundle
Allocate RESERVED Assign four fresh masks exclusively to this event.
Release challenge ISSUED Alice’s device uses the assigned masks once, in the specified order.
First eligible response arrives BURNED, result pending Bob atomically consumes the event and retains protected working values for this verification.
Verification completes BURNED, accepted Retire the bundle and erase transient private copies.
Same event arrives again BURNED; reject duplicate No new verification or mask allocation occurs.

A future event needs a new full nonce and a new mask bundle. Nonce 13 would produce offsets (1,0)(1,0). An unused nonce 0 would reproduce the geometry of nonce 12 while selecting a distinct event and fresh masks. Thus state is indexed by the full event identifier, never by the modulo residue alone.