Paul Rubin <no.email@nospam.invalid> writes: > H([b-a, c-b, d-c, a-d]) > where H is your favorite hash function on a list of that element type.
I wrote that up unclearly. H is supposed to be a hash on one element, and then you combine H(b-a), H(c-b), etc. in a commutative way, such as by adding them. Still not sure if this works though. -- https://mail.python.org/mailman/listinfo/python-list