Computational universal hashing #
The adversary receives the unary security parameter and a public setup description. The uniform hash key for that description stays private. The finite single-pair and multi-query experiments give the conditional success probabilities. A collision counts only between distinct valid messages. The message encoding is shared across setup descriptions.
The computational security implication follows by running the certified collision-pair sampler on the multi-query adversary's list. The list length bound follows from the strict PPT certificates for the setup and adversary. The converse submits a pair as a two-message batch and preserves the success probability.
Main definitions #
Cslib.Crypto.UHF.collisionGameandCslib.Crypto.UHF.multiQueryGame: collision games with public setup and private keys.Cslib.Crypto.UHF.IsComputationalUHFandCslib.Crypto.UHF.IsMultiQueryUHF: negligible success in the respective games against every uniform strict PPT adversary.Cslib.Crypto.UHF.collisionPairToBatch: present a single guess as a two-message batch.
Main results #
Cslib.Crypto.UHF.succProbability_multiQueryGame_le_collisionPairReduction: the concreteQ ^ 2 / 2bound for the certified sampler, averaged over setup.Cslib.Crypto.UHF.IsComputationalUHF.isMultiQueryUHF: the asymptotic implication for a strict PPT setup.Cslib.Crypto.UHF.IsMultiQueryUHF.isComputationalUHF: the converse via a two-message batch.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6, Definitions 7.2–7.4 and Lemma 7.1, printed pp. 254–255.
Run a collision guesser and submit its two messages in order, including repeated guesses.
Every supported output of the wrapper contains exactly two messages.
The batch wrapper adds only the cost of writing a two-element framed list.
Attack Game 7.1 with public setup. The adversary receives (n, d) and wins if its two
distinct valid messages collide under a private uniform key from K d.
Attack Game 7.2 with public setup. The adversary receives (n, d) and wins if some two
distinct valid messages in its output list collide under a private uniform key from K d.
Repeated messages and invalid entries do not contribute a collision.
Computational UHF security ([BS23], Definition 7.2, printed p. 254) against
uniform strict PPT adversaries. The unary parameter is framed before the public setup encoding.
Invalid guesses lose. The predicate accepts a setup program of arbitrary runtime.
IsComputationalUHF.isMultiQueryUHF requires strict PPT setup. The caller supplies the keyed
hash family's recognition, sampling and evaluation requirements from Definition 7.4.
Multi-query UHF security ([BS23], Definition 7.3, printed p. 254) against uniform
strict PPT adversaries, with the same public inputs and message domain as IsComputationalUHF.
The adversary outputs a framed list of messages. The predicate accepts a setup program of
arbitrary runtime. IsComputationalUHF.isMultiQueryUHF requires strict PPT setup.
The two-message batch and the original pair win on exactly the same guesses and keys.
Multi-query UHF security implies single-pair UHF security by submitting both messages in one batch. The wrapper leaves the public setup program unchanged.
With at most Q messages at each supported setup, the multi-query success probability is
at most Q ^ 2 / 2 times the success probability of the collision-pair sampler.
Computational UHF security implies multi-query UHF security (Boneh–Shoup Lemma 7.1,
[BS23], v0.6, printed pp. 254–255). The public setup is strict PPT and varies with the
security parameter. The reduction uses bounded fair-bit sampling, preserving the Q ^ 2 / 2
bound, and outputs a losing repeated guess on exhaustion. The bound on the adversary's output
list length comes from the two strict PPT certificates.