> > Without knowing to much about the compiler internals... Wouldn't a SHA1 > be a better option than CRC? For example, Git uses SHA1's to > cryptographically ensure that no revision in the repository has been > tampered with. Just a single byte change generates a completely > different SHA1. isn't SHA1 slow?
i'd suggest to use doubled checksum. There's Adler checksum (used for gzip), It's as simple as CRC (and unsafe in the same way) But if both CRC and Adler are used, it's quite hard to change the content not to violate the one of the sums. thanks, dmitry -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
