Adler32 - Checksum unit for Pascal
Version 1.0
Adler32 is a checksum algorithm simular to CRC32,
but is faster than CRC32. This pascal unit has been verified
with the Java class file included with JDK v1.1.
Full Pascal Source Code included.
Benchmarks (On AMD K6 200Mhz)
Adler32 - 162,760 Kb/s (500Mb in 3 seconds)
CRC32 - 9,042 Kb/s (500Mb in 54 seconds)
CRC32 - 8,005 Kb/s (500Mb in 61 seconds)
(Version from Marco Schmidt)
P.S. The code was compiled with FPK-Pascal with NO optimizations.
Allen Cheng
WWW: http://tcp.home.ml.org/
|