[riot-users] Simple hashing function
joakim.gebart at eistec.se
Tue Jan 27 12:39:35 CET 2015
I am looking for a simple (few lines to implement) hashing function to
reduce a 128 bit integer to 64 bits.
I want to use the hash to derive a 64 bit IPv6 host address from a 128
bit CPU ID.
I want all of the bits of the CPUID to affect the result, instead of
just grabbing the top/bottom 8 bytes of the ID. I'm guessing there are
lots of options for hashes, but many are made to generate hashes from
much longer messages than 128 bit.
More information about the users