I have a list of n GUIDs and I need to hash them into a single value. This value could be the size of a Guid object or the size of an Int32, it doesn't really matter, but it does need to be statistically unique (say with a probably similar to MD5).
So one approach could be to sort them, concatenate the bytes and take an MD5 hash of all the bytes... but this isn't very quick.
Another idea: I notice that it is fairly standard practice in .NET to implement the GetHashCode method of a composing object as the XOR of the hash codes of the composed objects. Therefore could it be mathematically sensible to XOR my list of GUIDs?
Any ideas welcome!