Computational difference unpredictability #
An adversary receives the unary security parameter and the public setup, then submits two messages and an encoded digest difference. The challenger keeps the uniform hash key private. Checking the encoded difference allows the digest group to vary with the public setup while the adversary's output encoding stays fixed.
Main definitions #
Cslib.Crypto.UHF.encDifferenceGuess: a framed collision guess followed by the prediction.Cslib.Crypto.UHF.differenceGame: Attack Game 7.3 for encoded differences.Cslib.Crypto.UHF.IsComputationalDUF: negligible success for every uniform strict PPT difference predictor.
Main results #
Cslib.Crypto.UHF.IsComputationalDUF.isComputationalUHF_of_zero_polyTime: predicting an efficiently encoded zero transfers difference security to collision security.Cslib.Crypto.UHF.IsComputationalDUF.isComputationalUHF_zmod: the canonical binary encoding of zero works for every cyclic modulus, including when the setup chooses it.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6, Section 7.4, Attack Game 7.3, Definition 7.5 and Remark 7.3, printed pp. 268–269.
The tuple of the fields of encDifferenceGuess.
Attack Game 7.3 ([BS23], v0.6, §7.4, p. 268) with public setup. Two distinct valid
messages win when the submitted bits encode the second digest minus the first. The key is uniform
in K d and private. Digest groups can vary with setup. Remark 7.3 allows group-valued digests.
Computational DUF security ([BS23], Definition 7.5 and Remark 7.3, printed p. 269) against uniform strict PPT adversaries who receive the framed unary parameter and public setup. Predictions are digest words. Malformed words and invalid or repeated messages lose. Setup may have arbitrary runtime in this security predicate. Applications supply the hash family's recognition, sampling and evaluation requirements from Definition 7.4.
If the encoded zero is efficiently available from setup, a collision guess gives a difference guess with the same success probability. This transports computational DUF security across arbitrary digest encodings using the zero prediction of [BS23], p. 269.
Computational difference unpredictability over canonically encoded residues implies computational universal hashing. This is the asymptotic form of the zero-prediction reduction in [BS23], v0.6, §7.4, p. 269. The certified predictor writes the encoding of integer zero, which is the same at every modulus.