- djb_cksum
-
unsigned int djb_cksum( const char* p, unsigned int len )
checksum algorithm by d.j.bernstein. Didn't do any benchmarks, but the computation might be quite performant. It is a bitshift and two additions per byte.
unsigned int djb_cksum( const char* p, unsigned int len )
checksum algorithm by d.j.bernstein. Didn't do any benchmarks, but the computation might be quite performant. It is a bitshift and two additions per byte.