Universal hashing, discovered by Carter and Wegman in 1979, has many important applications in computer science. MMH, which was shown to be -universal by Halevi and Krawczyk in 1997, is a well-known universal hash function family. We introduce a variant of MMH, that we call GRDH, where we use an arbitrary integer instead of prime and let the keys satisfy the conditions (), where are given positive divisors of . Then via connecting the universal hashing problem to the number of solutions of restricted linear congruences, we prove that the family GRDH is an -almost--universal family of hash functions for some if and only if is odd and . Furthermore, if these conditions are satisfied then GRDH is -almost--universal, where is the smallest prime divisor of . Finally, as an application of our results, we propose an authentication code with secrecy scheme which strongly generalizes the scheme studied by Alomair et al. [{\it J. Math. Cryptol.} {\bf 4} (2010), 121–148], and [{\it J.UCS} {\bf 15} (2009), 2937–2956].

生成讲解博客的中文版本

生成AI智能校验的中文版本