× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



MD5 or SHA-1 both handle transposed characters just fine (that is:
makes the hashes different).

----- Original Message -----
From: <thomas@inorbit.com>
To: <mi400@midrange.com>
Sent: Thursday, May 09, 2002 3:51 PM
Subject: RE: [MI400] Generate hash code for a source member?


> Dan:
>
> First thing to keep in mind is that no hash value is going to be
> foolproof unless your hashes have as many significant characters
> as your largest members. Hashes can be pretty good, but they
> won't guarantee uniqueness.
>
> With that in mind, note that _most_ switched characters will
> indeed generate different hashes; the XFOOT was suggested over
> groups of 4 characters for 32 bits. "ABCD" is definitely a
> different 32-bit value from "BACD", e.g., 3250766788 vs.
> 3267478468. Similarly, "ABCD" and "EFGH" are together different
> from "ABCE" and "DFGH". That is, while many transpositions won't
> be caught, most of them will be caught.
>
> Switched records are slightly more trouble, but something such as
> RRN being used a kind of seed value should help.
>
> The real question comes down to exactly how precise do you need
> this to be? Do you need to guarantee you'll catch every
> duplication or variation?
>
> Tom Liotta




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.