Tole sem zgruntal
[c] unsigned long Hash(void *buf, size_t length, unsigned long hashValue) { unsigned char *bStart = (unsigned char *)buf; unsigned char *bEnd = bStart + length; while (bStart < bEnd) { hashValue ^= (long)*bStart++; hashValue += hashValue 5; hashValue ^= hashValue < < 11; hashValue += hashValue >> 17; hashValue ^= hashValue