I need to come up with an algorithm for a hash function that take 20 bits long input and the output should be only a 5 bits long.
I have searched in the internet for the last week and I couldn't find anything helpful.
your help is very much appreciated. Thanks