{"id":"horsenuggets/hashlib","name":"hashlib","scope":"horsenuggets","platform":"roblox","description":"A hashing library for Luau.","version":"0.0.4","latest":"0.0.4","versions":["0.0.1","0.0.2","0.0.3","0.0.4"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"53bbed64adaf6b0fc4fa4f140b24f157976f94c5457540b6b8e2e118eb495acd","likes":0,"downloads":0,"install":"forest install horsenuggets/hashlib","url":"https://forest.dev/p/roblox/horsenuggets/hashlib","files":"https://api.forest.dev/ai/package/roblox/horsenuggets/hashlib/files","readme":"# hashlib\n\nA hashing library for Luau.\n\nBased on [boatbomber/HashLib](https://github.com/boatbomber/HashLib), originally by Egor\nSkriptunoff, boatbomber, and howmanysmall. Ported with full Luau type annotations.\n\n## Supported algorithms\n\n- MD5\n- SHA-1\n- SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256\n- SHA3-224, SHA3-256, SHA3-384, SHA3-512\n- SHAKE128, SHAKE256\n- HMAC (applicable to any hash function except SHAKE)\n\n## Usage\n\n```luau\nlocal HashLib = require(\"@packages/HashLib\")\n\nlocal hash = HashLib.sha256(\"hello world\")\nprint(hash) -- \"b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9\"\n```\n\n## Installation\n\nAdd to your `wally.toml`:\n\n```toml\n[dependencies]\nHashLib = \"horsenuggets/hashlib@0.0.4\"\n```\n","readmeTruncated":false}