#include "uMod_Main.h" /* MyTypeHash GetHash(unsigned char *str, int len) // estimate the hash { MyTypeHash hash = 0; for (int i=0; i>= 1) { crc = crc >> 1 ^ ((crc ^ data) & 1 ? CRC32POLY : 0); } } return crc; }