PHP 7.4.33
Preview: README.md Size: 841 B
/var/www/cookieconsent.bitkit.dk/httpdocs/node_modules/string-hash/README.md
string-hash
===========

A fast string hashing function for Node.JS. The particular algorithm is quite
similar to `djb2`, by Dan Bernstein and available
[here](http://www.cse.yorku.ca/~oz/hash.html). Differences include iterating
over the string *backwards* (as that is faster in JavaScript) and using the XOR
operator instead of the addition operator (as described at that page and
because it obviates the need for modular arithmetic in JavaScript).

The hashing function returns a number between 0 and 4294967295 (inclusive).

Thanks to [cscott](https://github.com/cscott) for reminding us how integers
work in JavaScript.

License
-------

To the extend possible by law, The Dark Sky Company, LLC has [waived all
copyright and related or neighboring rights][cc0] to this library.

[cc0]: http://creativecommons.org/publicdomain/zero/1.0/

Directory Contents

Dirs: 0 × Files: 6
Name Size Perms Modified Actions
14 B lrw-r--r-- 2025-06-16 05:45:39
Edit Download
344 B lrw-r--r-- 2025-06-16 05:45:39
Edit Download
408 B lrw-r--r-- 2025-06-16 05:45:39
Edit Download
494 B lrw-r--r-- 2025-06-16 05:45:39
Edit Download
841 B lrw-r--r-- 2025-06-16 05:45:39
Edit Download
376 B lrw-r--r-- 2025-06-16 05:45:39
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).