search/
Start typing to search packages!
package_2
sha1
By @dekkonot
Roblox
Mirrored from WallyThis version ships no README. Showing the README from v1.0.0, mirrored from wally.
SHA1 Luau
A pure Luau implementation of the SHA-1 hashing algorithm. Blazing fast (for Luau) and well-tested.
!! Warning: Cryptographically Broken !!
The SHA-1 hash function MUST NOT be utilized for crytographic purposes. It is vulnerable to collision attacks. For more information, see this website.
API
This module returns a single function with the following type signature:
sha1(message: string): (string, {number})
The message passed to this function will be hashed using the hashing algorithm. The hash is returned in two forms:
- As a sequence of 40 hexadecimal digits
- A read-only array of five 32-bit words that represent the hash
Package Details
Install command (Click to copy)
Version
1.0.3
License
MIT
Safe for commercial use
The package archive does not include its license text; the license is declared in its manifest metadata.
Automated license review — not legal advice.
