uce/site/doc/pages/runtime_safe_key.txt
2026-06-15 10:53:36 +00:00

15 lines
371 B
Plaintext

:sig
String runtime_safe_key(String key, String label = "runtime key")
:params
key : caller-provided key
label : diagnostic label used by native error handling
return value : stable SHA-1 key, or an empty string for empty input in wasm
:see
>sys
>gen_sha1
:content
Trims a runtime key and converts it to a stable SHA-1 identifier suitable for task/runtime file names.