Hash Functions. Commonly used method h(k) = k mod M,, Why we choose value of M to be prime no.
- by RBA
Hi,
Please share the reason why in Hash Functions, the common method i.e. h(k) = k mod M... Why we choose the value of M to be always prime no.
Thanks..