Robust and fast checksum algorithm?
Posted
by bene
on Stack Overflow
See other posts from Stack Overflow
or by bene
Published on 2008-09-23T18:48:56Z
Indexed on
2010/03/25
0:53 UTC
Read the original article
Hit count: 570
Which checksum algorithm can you recommend in the following use case?
I want to generate checksums of small JPEG files (~8 kB each) to check if the content changed. Using the filesystem's date modified is unfortunately not an option.
The checksum need not be cryptographically strong but it should robustly indicate changes of any size.
The second criterion is speed since it should be possible to process at least hundreds of images per second (on a modern CPU).
The calculation will be done on a server with several clients. The clients send the images over Gigabit TCP to the server. So there's no disk I/O as bottleneck.
© Stack Overflow or respective owner