0

In my theoretical computer science course the professor left followed statement open (so we could create our own proof), but i really do not understand it: Let $s \in \mathbb{N} $ and $p \in Prime$. For every $a \in \{1,...,p-1\}$ let $h_a:\{0,...p-1\} \rightarrow \{0,...s-1\}$ be a function with $h_a(x)=$(ax mod p) mod s for all $x \in \{0,...,p-1\}$. Then $ H = \{h_a(x)$|$ 1 \leq a \leq p-1\}$ is a 2-univeral class of hashfunctions from $\{0,...p-1\}$ to $\{0,...,s-1\}$

Luisa
  • 1

0 Answers0