I have a hash function which maps elements from a set A to another set B. The size of the two sets are n and m respectively (with n >> m). The hash function is of the form -
$h: x' = x \; (mod \; m) \; | \; x \in A \;,\; x' \in B$
Thus, the elements in set B would be $\{0,1,2...(m-1)\}$. I want to compute the collision probability for any two elements in A ?
Any type of help would be highly appreciated.