Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Nov : TIdHashCRC32 producing wrong results
| Subject: | TIdHashCRC32 producing wrong results |
| Posted by: | "Philip von Melle" (philip.vonmel..@globetrotter.de) |
| Date: | 19 Nov 2006 03:29:01 |
TIdHashCRC32 produces wrong results (as does CRC16). The CRC32 checksum of
a text file containing only the word 'TEST' (size 4 bytes) is 'EEEA93B8'
(checked with variuos other routines like SysTools and other utilities) but
TIdhashCRC32 says 'B893EAEE'. I ran into this with TIdFTP.VerifyFile and
the server supported only XCRC. Due to this error VerifyFile is always
false even when the files match.
Philip