Skip to main content
gamedev.net
🔒 Locked

checksum libs?

Started by AcidZombie24 Oct 8, 2008 at 3:28 AM 0 replies 550+ views
Original Post
AcidZombie24
AcidZombie24
Hey guys, i need at least 2 different checksum in my code. Is there a lib i can use? i prefer using crc32, md5 and sha1.
<SkilletAudio> Your framerate proves your lack of manhood
samoth
samoth
The contributions to Crypto++ (except for Mars) are in the public domain, you find all of the mentioned algorithms there.

However, it also depends on what you want. CRC32 and SHA1 (or MD5) don't really compare. One is designed to detect accidential bit errors on a noisy communication channel, and the other is designed to resist malicious modifications to some extent, as well. The algorithms differ hugely in terms of speed, complexity, and hash size.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.