Pairwise unpredictability #
[BS23], Section 7.6.1, printed p. 275, defines pairwise unpredictability for a single keyed hash with a private uniform key. After seeing the digest of its first message, the adversary chooses another message and tries to predict its digest.
Main definitions #
Cslib.Crypto.UHF.predictionExperiment: Attack Game 7.5 for a finite uniform key.Cslib.Crypto.UHF.IsPairwiseUnpredictable: Definition 7.7, the bound against all two-stage adversaries.
Main results #
Cslib.Crypto.UHF.IsPairwiseUnpredictable.isUniversalHashandCslib.Crypto.UHF.IsPairwiseUnpredictable.isDeltaUniversalHash: the bound also holds for collisions and for predicted hash differences.Cslib.Crypto.UHF.isPairwiseUnpredictable_add_uniform: adding an independent uniform digest to a difference-universal family gives pairwise unpredictability (Lemma 7.11).
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6, Sections 7.6.1–7.6.2.
The second message and its predicted hash.
- message : M
The message whose hash the adversary predicts.
- digest : Y
The predicted hash.
The adversary chooses a message, saves private state, then receives only its hash.
Attack Game 7.5 ([BS23], v0.6, printed p. 275). The challenger samples a private uniform key and answers the first query. The experiment rejects a prediction for the first message, which the source forbids submitting.
Statistical pairwise unpredictability ([BS23], Definition 7.7, v0.6, p. 275).
All probabilistic two-stage adversaries, with arbitrary saved state, succeed with probability
at most ε.
An ε-PUF is an ε-UHF ([BS23], v0.6, p. 275). Use the revealed digest as the
prediction for the other message.
An ε-PUF with group-valued digests is an ε-DUF ([BS23], v0.6, p. 275).
To test a proposed difference, add it on the left of the revealed digest. The proof works for
any additive group, including the source's cyclic and abelian cases.
Lemma 7.11 ([BS23], v0.6, Section 7.6.2, printed p. 276). Add an
independent uniform digest to every hash evaluation. If the original family is
ε-difference universal, the resulting family is ε-pairwise unpredictable. The challenger
uses a uniform key in the product of the original key and digest spaces. The argument works
for finite additive groups, including the source's cyclic groups.