Subject: Hashing advice requested
Sorry for making a non-fable thread, but i dont really want to post this on gamedev-related forums since lately everyone on those forums is either too busy posting crap-based replies, or too busy to notice anything i post.
I'm working on a project of my own, think about it as a MMORPG-sized single-player RPG w/ minimal life simulation, and i'm about to work on client/server stuff, and i'm in need of a proper file checksum algorithm so i can receive hashes from the client to the server in order to verify that the client has all the needed files and that none are damaged/modified.
For those wondering, i need networking because the world simulation is quite CPU-intensive, so i'll make an exe exclusively for world simulation.
CRC cannot be used, since it's possible to make fake CRCs for files, even if the client by default doesnt know the checksums, and MD5 seems to have it's own collisions issues.
So, does anybody know of any good checksum algorithms i could use, preferably something that doesnt force me to pay licensing/royalties?
Thanks a lot for your time regarding this message.
I'm working on a project of my own, think about it as a MMORPG-sized single-player RPG w/ minimal life simulation, and i'm about to work on client/server stuff, and i'm in need of a proper file checksum algorithm so i can receive hashes from the client to the server in order to verify that the client has all the needed files and that none are damaged/modified.
For those wondering, i need networking because the world simulation is quite CPU-intensive, so i'll make an exe exclusively for world simulation.
CRC cannot be used, since it's possible to make fake CRCs for files, even if the client by default doesnt know the checksums, and MD5 seems to have it's own collisions issues.
So, does anybody know of any good checksum algorithms i could use, preferably something that doesnt force me to pay licensing/royalties?
Thanks a lot for your time regarding this message.
This post was edited on 2013-11-21, 16:19 by Keshire.