版博士V2.0程序
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

12345678910111213141516171819202122
  1. string-hash
  2. ===========
  3. A fast string hashing function for Node.JS. The particular algorithm is quite
  4. similar to `djb2`, by Dan Bernstein and available
  5. [here](http://www.cse.yorku.ca/~oz/hash.html). Differences include iterating
  6. over the string *backwards* (as that is faster in JavaScript) and using the XOR
  7. operator instead of the addition operator (as described at that page and
  8. because it obviates the need for modular arithmetic in JavaScript).
  9. The hashing function returns a number between 0 and 4294967295 (inclusive).
  10. Thanks to [cscott](https://github.com/cscott) for reminding us how integers
  11. work in JavaScript.
  12. License
  13. -------
  14. To the extend possible by law, The Dark Sky Company, LLC has [waived all
  15. copyright and related or neighboring rights][cc0] to this library.
  16. [cc0]: http://creativecommons.org/publicdomain/zero/1.0/