Skip to main content

hash

Content hashes, for a download a game verifies before it trusts it.

2 functions, 0 constants. Scripts reach it as hash::.

Functions

Argument kinds are the script values a call passes: node is a node handle, any a table or value of any kind, fn a callback.

functionacts onwhat it does
sha256(path: string)The SHA-256 of a file as lowercase hex, read through the project's file roots; an absolute path is read as given.
sha256_text(text: string)The SHA-256 of a string as lowercase hex.