CRC function without order dependency

Posted by Pirks on Stack Overflow See other posts from Stack Overflow or by Pirks
Published on 2010-04-21T11:48:58Z Indexed on 2010/04/22 10:53 UTC
Read the original article Hit count: 217

Filed under:

I need a CRC mechanism to calculate the CRC of a number of strings, such that, given two strings, A and B, the sum crc(A) + crc(B) == crc(A+B).

P.S. XOR is too weak---the algorithm should be not trivial for reverse engineering.

© Stack Overflow or respective owner

Related posts about algorithm