{"_id":"@dekkonot/sha384","_rev":"2-a9bffbf8ddcc9e4925de7788c24f0b70","name":"@dekkonot/sha384","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@dekkonot/sha384","version":"1.0.1","license":"MIT","_id":"@dekkonot/sha384@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":"d4a0f231c831b6ed7ff6678e42520129c576c280","tarball":"https://registry.npmjs.org/@dekkonot/sha384/-/sha384-1.0.1.tgz","fileCount":3,"integrity":"sha512-bjyWRZ8TadRUEKAp0yLTMnpvA9MrVJbWIorv1kTFTHg59UlgQC5OtuSk+fN8LrmufnnO4FF97zz0HGd8ZaBreg==","signatures":[{"sig":"MEQCIHpHrwXpaCDcv7+YPLhaEhYCT1mHvcXhko9QLbm/u3s2AiBmgUzQXex1y+qi1mfNEFkC0nQbsYN6Hm7NP5h6Cgf/mg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14298},"gitHead":"8af31873c7633108f0dc9db6387873b58ed323ca","_npmUser":{"name":"dekkonot","email":"me@dekkonot.com"},"repository":{"url":"git+https://github.com/Dekkonot/luau-hashing.git","type":"git","directory":"src/sha384/"},"_npmVersion":"10.8.2","description":"Implementation of the SHA-384 hashing algorithm","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sha384_1.0.1_1726956910178_0.4048765672547978","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@dekkonot/sha384","version":"1.0.2","description":"Implementation of the SHA-384 hashing algorithm","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Dekkonot/luau-hashing.git","directory":"src/sha384/"},"contributors":[{"name":"Dekkonot"}],"bugs":{"url":"https://github.com/Dekkonot/luau-hashing/issues"},"_id":"@dekkonot/sha384@1.0.2","gitHead":"81061a47414d29807d65986ac82d2c1f6f67c514","homepage":"https://github.com/Dekkonot/luau-hashing#readme","_nodeVersion":"20.11.0","_npmVersion":"10.3.0","dist":{"integrity":"sha512-sIAzpLY2GlunZbrDjRcbik25MQWPgwfYLKl+QyshdfXBp/XJaEMblnnCQ3QmzbKEXvhf9ZjfRalnxGwzTuaDsQ==","shasum":"b53e76faf2575925670a834b69f441af82e32051","tarball":"https://registry.npmjs.org/@dekkonot/sha384/-/sha384-1.0.2.tgz","fileCount":3,"unpackedSize":14681,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFRZF7mDJn/SePtS+6pbIuFFV+3sTXmmCsz18m5avjhRAiA5CfSdYcfVhQ7VPqcYhHi9UMrn+Dxq3qX4X14SyW1dDg=="}]},"_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/sha384_1.0.2_1749510164371_0.06169049325161691"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-21T22:15:10.059Z","modified":"2025-06-09T23:02:44.759Z","1.0.1":"2024-09-21T22:15:10.371Z","1.0.2":"2025-06-09T23:02:44.555Z"},"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/sha384/"},"description":"Implementation of the SHA-384 hashing algorithm","contributors":[{"name":"Dekkonot"}],"maintainers":[{"name":"dekkonot","email":"me@dekkonot.com"}],"readme":"# SHA-384 Luau\r\n\r\nA pure Luau implementation of the SHA-384 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\nsha384(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 96 hexadecimal digits\r\n2. A **read-only** array of twelve 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 10 words.","readmeFilename":"README.md"}