Re: hash function to produce 4 byte number out of 16 byte number
 From: dcorbit@xxxxxxxxx
 Date: 10 Oct 2006 11:10:12 0700
toby wrote:
David Spencer wrote:
dmitry.sychov@xxxxxxx writes:
I'am looking for the best hash fn to produce 4 byte number out of 16
byte number
16 byte source number is GUID, ie it has no properties just complete
random number.
If it's truly random, why not just take the low (or high or ...) 4
bytes?
After all, 3 posts can't be wrong!
GUIDs are not random. For some GUIDs, the MAC address is part of it.
http://en.wikipedia.org/wiki/GUID
Anyway, a simple hash will surely be sufficient for the OP's needs.

dhs spencer@xxxxxxxxx
.
 FollowUps:
 References:
 hash function to produce 4 byte number out of 16 byte number
 From: dmitry . sychov
 Re: hash function to produce 4 byte number out of 16 byte number
 From: David Spencer
 Re: hash function to produce 4 byte number out of 16 byte number
 From: toby
 hash function to produce 4 byte number out of 16 byte number
 Prev by Date: Re: Algebra of order notation need help
 Next by Date: Re: hash function to produce 4 byte number out of 16 byte number
 Previous by thread: Re: hash function to produce 4 byte number out of 16 byte number
 Next by thread: Re: hash function to produce 4 byte number out of 16 byte number
 Index(es):
Relevant Pages
