Re: Disc ID Calculation

Jeremy Hylton (jeremy nospam at cnri.reston.va.us)
Thu, 18 Mar 1999 15:00:52 -0500 (EST)

>>>>> "RK" == robert <robert nospam at moon.eorbit.net> writes:

RK> Well, a ton of people complained that the MD5 algorithm was 'not
RK> free enough' and that the code was sensitive to the endianess of
RK> the host machine. So, the changes reflect moving to SHA1 and the
RK> avoid byte order problems.

The byte order problems appear to have been eliminated by encoding the
track numbers as strings ("%02X" or "%08X") instead of passing them
into the SHA digest as raw bytes.

Jeremy