hash module
SHA-256 content hashes of files and strings. The hash script module of the Balaur game engine: 2 functions and 0 constants a Rune script reaches as hash::.
ในหน้านี้
SHA-256 content hashes of files and strings.
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.
| function | acts on | what 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. |