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

10. A concrete twelve-key, four-color profile

On this page
  1. 10.1 The separating code and nonce rule
  2. 10.2 Three-response calibration
  3. 10.3 Complete example: secret key 7
  4. 10.4 Exact constrained resource bounds

The supplied journal manuscripts specify RW-12/4, a second realization of the general membership function. It uses a finite two-coordinate code. The four-symbol ring in Section 6 and this keypad profile have different frame-generation rules; their response and masking equations are the same.

10.1 The separating code and nonce rule

Use H=4H=4 and the key order

K=(1,2,3,4,5,6,7,8,9,∗,0,#).\mathcal K=(1,2,3,4,5,6,7,8,9,*,0,\#).

Assign the twelve ordered pairs (a,b)∈Z42(a,b)\in\mathbb Z_4^2 with a≠ba\ne b in lexicographic order. The color encoding is red =0=0, green =1=1, blue =2=2, gold =3=3.

Key First cell Second cell
1 0 1
2 0 2
3 0 3
4 1 0
5 1 2
6 1 3
7 2 0
8 2 1
9 2 3
* 3 0
0 3 1
# 3 2

Let E(i)E(i) be the table entry at zero-based index ii, and let sis_i be the corresponding key. Define

Eν(si)=E((i+ν) mod 12),cν,1(si)=Eν(si)1,cν,2(si)=Eν(si)2.(K1)E_\nu(s_i)=E((i+\nu)\bmod12), \qquad c_{\nu,1}(s_i)=E_\nu(s_i)_1, \qquad c_{\nu,2}(s_i)=E_\nu(s_i)_2. \tag{K1}

Balance and separation lemma. For every nonce, each frame contains three keys in each color, and each key has a unique two-cell signature.

Proof. For either coordinate, fixing a value leaves three possible values for the other coordinate. All twelve pairs are distinct. Adding the nonce modulo twelve permutes the assignment of keys to these pairs, preserving both properties. □\square

Thus separation is proved for every nonce in this profile. For an ℓ\ell-symbol string, use both frames for each position: r(2j−1)=r(2j)=jr(2j-1)=r(2j)=j, giving T=2ℓT=2\ell data rounds.

10.2 Three-response calibration

A permutation of HH values is determined by any H−1H-1 of its entries. The full calibration in Section 5 therefore has a valid shortened variant:

αi=(φ(i)+ui) mod H,0≤i≤H−2.(K2)\alpha_i=(\varphi(i)+u_i)\bmod H, \quad 0\le i\le H-2. \tag{K2}

Unmask these H−1H-1 entries, check that they are distinct, and assign the unique unused output value to the remaining input. Exact calibration verification must still bind them to the enrolled permutation.

Proof. A bijection uses every output exactly once. After H−1H-1 distinct entries are recovered, precisely one output remains. □\square

For RW-12/4 this uses three responses, so the calibrated total is q=2ℓ+3q=2\ell+3. Each response uses a fresh uniform element of Z4\mathbb Z_4, or two bits of mask entropy. The event consumes 4ℓ+64\ell+6 bits. The compact Lean package implements the full HH-response calibration; this shorter variant is a manuscript-level result and is checked by the finite program below.

10.3 Complete example: secret key 7

Alice remembers 7. Bob holds her enrolled secret and dictionary. Eve sees the public keypad and released arrows. Alice's protected component and Bob have the actual masks. Set ν=12\nu=12, leaving the displayed table unchanged, and use

φ=(2,0,3,1).\varphi=(2,0,3,1).

This notation lists φ(0),φ(1),φ(2),φ(3)\varphi(0),\varphi(1),\varphi(2),\varphi(3). Use arrow indices 0=↑0=\uparrow, 1=→1=\rightarrow, 2=↓2=\downarrow, 3=←3=\leftarrow.

Round Public task Selected cell Raw response Mask Released response
1 Calibrate cell 0 0 2 1 3
2 Calibrate cell 1 1 0 2 2
3 Calibrate cell 2 2 3 0 3
4 First membership frame 2 3 1 0
5 Second membership frame 0 2 3 1

The displayed private columns are instructional test values. They are excluded from Eve's protocol view. The released word is (3,2,3,0,1)(3,2,3,0,1), or left, down, left, up, right.

Bob subtracts (1,2,0,1,3)(1,2,0,1,3) modulo four to recover (2,0,3,3,2)(2,0,3,3,2). Calibration recovers map entries (2,0,3)(2,0,3) and then the missing value 11. The final two values decode to cells (2,0)(2,0). Their key sets intersect as

{7,8,9}∩{4,7,∗}={7}.(K3)\{7,8,9\}\cap\{4,7,*\}=\{7\}. \tag{K3}

Every one of the 12×24=28812\times24=288 possible key-map pairs has exactly one compatible mask among 45=1,0244^5=1,024 equally likely masks for the recorded word. Thus each pair induces the same likelihood 1/1,0241/1,024. The recording preserves its prior probability.

The same construction handles a twelve-digit PIN with 24 data responses, three calibration responses, and 54 fresh mask bits. One billion such events require 54×10954\times10^9 ideal mask bits, or 6.75 billion packed bytes, before provisioning and integrity overhead. This is a resource calculation, not a reported billion-session experiment.

10.4 Exact constrained resource bounds

Question-count lemma. A fixed-length rr-response membership signature with HH possible values per response distinguishes at most HrH^r symbols. Therefore r≥⌈log⁡H∣L∣⌉r\ge\lceil\log_H |\mathcal L|\rceil.

Proof. There are HrH^r possible signatures. An injective assignment needs at least as many signatures as symbols. □\square

RW-12/4 attains r=2r=2. This bound assumes the dictionary is known or calibrated and concerns the per-symbol membership encoding.

For a finite abelian response group V\mathcal V, let p(x)p(x) be a raw signature and μ\mu the probability mass function of an additive mask independent of the credential. Define the subgroup

U=⟨p(x)−p(x′):x,x′ admitted⟩⊆V.(K4)U=\langle p(x)-p(x'):x,x'\text{ admitted}\rangle\subseteq\mathcal V. \tag{K4}

Angle brackets denote the subgroup generated by all signature differences: all finite sums and inverses of those differences.

Mask-law lemma. The releases p(x)+Mp(x)+M have the same distribution for all admitted credentials exactly when

μ(v+u)=μ(v)for every v∈V, u∈U.(K5)\mu(v+u)=\mu(v)\quad\text{for every }v\in\mathcal V,\ u\in U. \tag{K5}

Proof. Equal released distributions give μ(y−p(x))=μ(y−p(x′))\mu(y-p(x))=\mu(y-p(x')) for every yy. These equations impose invariance under each generating difference, hence under its generated subgroup. The same equations follow immediately from subgroup invariance. □\square

Let JM=M+UJ_M=M+U denote the coset containing the mask. Within each coset with positive probability, the mask must be uniform. Consequently

H(M)=log⁡2∣U∣+H(JM),min⁡H(M)=log⁡2∣U∣.(K6)\mathsf H(M)=\log_2|U|+\mathsf H(J_M), \qquad\min\mathsf H(M)=\log_2|U|. \tag{K6}

The chain rule proves the entropy formula because JMJ_M is determined by MM. Uniform sampling from a single coset attains the minimum.

Difference-set lemma. If C⊆VC\subseteq\mathcal V has more than half the group's elements, then C−C=VC-C=\mathcal V.

Proof. For any vv, the sets CC and C+vC+v must intersect. An intersection supplies c−c′=vc-c'=v. □\square

For any fixed dictionary, the twelve raw keypad signatures occupy twelve distinct points of Z42\mathbb Z_4^2, which has sixteen points. The difference-set lemma and (K5) force a uniform mask on all sixteen possibilities: exactly four data-mask bits per symbol. The ten-digit subset also has more than eight points and obeys the same bound. Product domains of ℓ\ell independent symbol positions give 4ℓ4\ell data-mask bits. Calibration adds the specified overhead.

These bounds concern the stated fixed encoding and independent additive masking. They establish the cost of this interface and model; a comparison with other authentication designs must use their own resource models.