Applying modulo function on MD5 hash

74 Views Asked by At

I have a use case to evenly distribute input strings into ‘n’ buckets. If I apply MD5 algorithm to generate a hash of the string and then apply modulo function will it result in even distribution of input into ‘n’ buckets?

Otherwise what are other mechanisms to achieve even distribution of strings ?

0

There are 0 best solutions below