Indy MD5 - Inconsistent results
Posted on 2004-10-09
I have Delphi 6, and am using the TIdCoderMD5 component to create an MD5 hash, implemented to derive an intended identical hash from a string of typically 50-150 chars. In fact, I have three strings of 10-50 chars and use one as the seed and concatenate the other two together to create the message to be hashed.
This works fine MOST of the time, (say 99%+), but occasionally (and only occasionally) I'm finding the same component generates different hashes in the two programs. I have checked the inputs to ensure they are identical - and they are ...
Is this version a bit flakey ?
I see other versions mentioned in this forum. Are there other implementations of MD5 that others have used and proved as reliable. ?