What type of hash is this? -
i not @ , have searched high , low try , motivate if or bad hash. hope 1 of enlighten me information regarding this.
unsigned int hash(bytearray[] msg) { unsigned int hash = 0xdecafbad; for(i = 0; < msg.length(); i++) { hash = ((hash << 5) xor (hash >> 27)) xor msg[i]; } return (hash bitwise-and 0x7fffffff); }
Comments
Post a Comment