Aliases
None.Arguments
string
required
The input bytes as a binary-safe Luau string.
string
default:"\"sha384\""
The digest algorithm name. See the supported values under Returns.
Returns
string
The hexadecimal digest of the input bytes.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns a hexadecimal digest.
crypt.hash(data: string, algorithm: string? = "sha384"): string
print(crypt.hash("hello", "sha256"))
