Can anybody explain the logic behind djb2 hash funcition.

Posted by de costo on Stack Overflow See other posts from Stack Overflow or by de costo
Published on 2009-10-16T18:44:55Z Indexed on 2010/05/18 2:20 UTC
Read the original article Hit count: 419

Filed under:
|

Can anybody explain the logic behind the use of djb2 hash function as a good option for strings. The algorithm can be found at http://www.cse.yorku.ca/~oz/hash.html

Why is it that 5381 and 33 hold such an importance in djb2 algorithm ???

Thanks, De Costo

© Stack Overflow or respective owner

Related posts about hash

Related posts about hashing