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 and the key order
Assign the twelve ordered pairs with in lexicographic order. The color encoding is red , green , blue , gold .
| 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 be the table entry at zero-based index , and let be the corresponding key. Define
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.
Thus separation is proved for every nonce in this profile. For an -symbol string, use both frames for each position: , giving data rounds.
10.2 Three-response calibration
A permutation of values is determined by any of its entries. The full calibration in Section 5 therefore has a valid shortened variant:
Unmask these 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 distinct entries are recovered, precisely one output remains.
For RW-12/4 this uses three responses, so the calibrated total is . Each response uses a fresh uniform element of , or two bits of mask entropy. The event consumes bits. The compact Lean package implements the full -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 , leaving the displayed table unchanged, and use
This notation lists . Use arrow indices , , , .
| 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 , or left, down, left, up, right.
Bob subtracts modulo four to recover . Calibration recovers map entries and then the missing value . The final two values decode to cells . Their key sets intersect as
Every one of the possible key-map pairs has exactly one compatible mask among equally likely masks for the recorded word. Thus each pair induces the same likelihood . 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 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 -response membership signature with possible values per response distinguishes at most symbols. Therefore .
Proof. There are possible signatures. An injective assignment needs at least as many signatures as symbols.
RW-12/4 attains . This bound assumes the dictionary is known or calibrated and concerns the per-symbol membership encoding.
For a finite abelian response group , let be a raw signature and the probability mass function of an additive mask independent of the credential. Define the subgroup
Angle brackets denote the subgroup generated by all signature differences: all finite sums and inverses of those differences.
Mask-law lemma. The releases have the same distribution for all admitted credentials exactly when
Proof. Equal released distributions give for every . These equations impose invariance under each generating difference, hence under its generated subgroup. The same equations follow immediately from subgroup invariance.
Let denote the coset containing the mask. Within each coset with positive probability, the mask must be uniform. Consequently
The chain rule proves the entropy formula because is determined by . Uniform sampling from a single coset attains the minimum.
Difference-set lemma. If has more than half the group's elements, then .
Proof. For any , the sets and must intersect. An intersection supplies .
For any fixed dictionary, the twelve raw keypad signatures occupy twelve distinct points of , 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 independent symbol positions give 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.