{"_id":"@dekkonot/sha512","_rev":"2-d4e85d38a79e87f5382852e8288302e7","name":"@dekkonot/sha512","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@dekkonot/sha512","version":"1.0.1","license":"MIT","_id":"@dekkonot/sha512@1.0.1","maintainers":[{"name":"dekkonot","email":"me@dekkonot.com"}],"contributors":[{"name":"Dekkonot"}],"homepage":"https://github.com/Dekkonot/luau-hashing#readme","bugs":{"url":"https://github.com/Dekkonot/luau-hashing/issues"},"dist":{"shasum":"6cd38ba32d13d42e6445cb7822c372db1ef36932","tarball":"https://registry.npmjs.org/@dekkonot/sha512/-/sha512-1.0.1.tgz","fileCount":3,"integrity":"sha512-X6pXhpHNrQ+K0N/hgvqG933oJQSOXiEJm5UoA+3bnwXid0OefOZtSMs9vhOW/0fqD037++2LYA6HlUQkrCxdrw==","signatures":[{"sig":"MEQCIHfmBTbbDWtKHfwObN5v4Xy3ppr0t3GSxgAMdjCjuTi3AiBNEbPpwCweN3UvfKZpGGIxWqtSC1iWSHQfkB/f/T7G8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14385},"gitHead":"8af31873c7633108f0dc9db6387873b58ed323ca","_npmUser":{"name":"dekkonot","email":"me@dekkonot.com"},"repository":{"url":"git+https://github.com/Dekkonot/luau-hashing.git","type":"git","directory":"src/sha512/"},"_npmVersion":"10.8.2","description":"Implementation of the SHA-512 hashing algorithm","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sha512_1.0.1_1726956916463_0.6680625847055246","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@dekkonot/sha512","version":"1.0.2","description":"Implementation of the SHA-512 hashing algorithm","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Dekkonot/luau-hashing.git","directory":"src/sha512/"},"contributors":[{"name":"Dekkonot"}],"bugs":{"url":"https://github.com/Dekkonot/luau-hashing/issues"},"_id":"@dekkonot/sha512@1.0.2","gitHead":"81061a47414d29807d65986ac82d2c1f6f67c514","homepage":"https://github.com/Dekkonot/luau-hashing#readme","_nodeVersion":"20.11.0","_npmVersion":"10.3.0","dist":{"integrity":"sha512-AsCtSC4MrYcfJg4t1ySiw2s4Bve/24OsWGs7ZCnIY99uAftSxycIeqiNCunWQJoZMyg7rmeciDIZBjqLlM7umA==","shasum":"b89fac556cd6c247f4c80b223de4225de485a10d","tarball":"https://registry.npmjs.org/@dekkonot/sha512/-/sha512-1.0.2.tgz","fileCount":3,"unpackedSize":14770,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCtcafJZQUR5BzUACrPNS3xcmw/JBi9njkBBNCM3O7mwgIgfMJubwJRE/bd71MV1FBJCWS4WkL5qCmhKpuQ3Pv9Qu0="}]},"_npmUser":{"name":"dekkonot","email":"me@dekkonot.com"},"directories":{},"maintainers":[{"name":"dekkonot","email":"me@dekkonot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sha512_1.0.2_1749510113524_0.45008448448148064"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-21T22:15:16.348Z","modified":"2025-06-09T23:01:53.943Z","1.0.1":"2024-09-21T22:15:16.666Z","1.0.2":"2025-06-09T23:01:53.734Z"},"bugs":{"url":"https://github.com/Dekkonot/luau-hashing/issues"},"license":"MIT","homepage":"https://github.com/Dekkonot/luau-hashing#readme","repository":{"type":"git","url":"git+https://github.com/Dekkonot/luau-hashing.git","directory":"src/sha512/"},"description":"Implementation of the SHA-512 hashing algorithm","contributors":[{"name":"Dekkonot"}],"maintainers":[{"name":"dekkonot","email":"me@dekkonot.com"}],"readme":"# SHA-512 Luau\r\n\r\nA pure Luau implementation of the SHA-512 hashing algorithm. Blazing fast (for Luau) and well-tested.\r\n\r\nNote that due to limitations with Luau, this module is substantially slower than it would be with native 64-bit integers. It is as fast as it can reasonably be in Luau though.\r\n\r\n## API\r\n\r\nThis module returns a single function with the following type signature:\r\n\r\n```\r\nsha512(message: string): (string, {number})\r\n```\r\n\r\nThe `message` passed to this function will be hashed using the hashing algorithm. The hash is returned in two forms:\r\n\r\n1. As a sequence of 128 hexadecimal digits\r\n2. A **read-only** array of sixteen 32-bit words that represent the hash.\r\n\r\nIn the returned array, the first word represents the most significant half of the first 'real' word of the hash, and the second word represents the least significant half. This pattern repeats for the remaining 14 words.","readmeFilename":"README.md"}