{"_id":"@dekkonot/xxhash32","name":"@dekkonot/xxhash32","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@dekkonot/xxhash32","version":"1.0.1","description":"Implementation of the XXH32 hashing algorithm","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Dekkonot/luau-hashing.git","directory":"src/xxhash32/"},"contributors":[{"name":"Dekkonot"}],"bugs":{"url":"https://github.com/Dekkonot/luau-hashing/issues"},"_id":"@dekkonot/xxhash32@1.0.1","gitHead":"8af31873c7633108f0dc9db6387873b58ed323ca","homepage":"https://github.com/Dekkonot/luau-hashing#readme","_nodeVersion":"20.14.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-N1DDk0uxtpo1R/+m0IqdJxJuI/bWA2SYLISEdc7jZJBWMy6sUZZXBxkqfyLQ8r2zLOKnj4y+zNKyGJsq1maSeA==","shasum":"418eb018bf3ba25042a0e9df480fc4e19dfe0c1b","tarball":"https://registry.npmjs.org/@dekkonot/xxhash32/-/xxhash32-1.0.1.tgz","fileCount":3,"unpackedSize":4102,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX1hzTweNebD+jGLIWpRdE4XjD2RF3SZub5zHVnwHHlgIhAJyVvXzs0ylaQD3lbD3fUgmqMMnrlsVCJrJh0qasAjK5"}]},"_npmUser":{"name":"dekkonot","email":"me@dekkonot.com"},"directories":{},"maintainers":[{"name":"dekkonot","email":"me@dekkonot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xxhash32_1.0.1_1726956924502_0.8671587805294723"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-21T22:15:24.418Z","1.0.1":"2024-09-21T22:15:24.673Z","modified":"2024-09-21T22:15:24.944Z"},"maintainers":[{"name":"dekkonot","email":"me@dekkonot.com"}],"description":"Implementation of the XXH32 hashing algorithm","homepage":"https://github.com/Dekkonot/luau-hashing#readme","repository":{"type":"git","url":"git+https://github.com/Dekkonot/luau-hashing.git","directory":"src/xxhash32/"},"contributors":[{"name":"Dekkonot"}],"bugs":{"url":"https://github.com/Dekkonot/luau-hashing/issues"},"license":"MIT","readme":"# XXH32 Luau\n\nA pure Luau implementation of the XXH32 hashing algorithm. Blazing fast (for Luau) and well-tested.\n\n## !! Warning: Non-Cryptographic !!\n\nThe XXH32 hash function MUST NOT be utilized for crytographic purposes. It is designed to be a reasonably collision resistant but fast hashing algorithm. It is vulnerable to a myriad of potential attacks that make it unsuitable for cryptography.\n\n## API\n\nThis module returns a single function with the following type signature:\n\n```\nxxhash32(message: string, seed: number?): number\n```\n\nThe `message` passed to this function will be hashed using the hashing algorithm. If desired, a `seed` may be used, which will be incorporated into the hashing algorithm. The hash is returned as a single unsigned 32-bit integer.","readmeFilename":"README.md"}