Crypt Library
Base64, random bytes, hashing and symmetric encryption helpers.
Base64, hashing, symmetric encryption and secure random bytes — the same surface as the executor build, useful for the same reasons: keeping a config off disk in plain text, or generating a key.
Encrypt and hash
local key = crypt.generatekey()
local secret = crypt.encrypt("webhook url", key)
writefile("hook.enc", secret)
print(crypt.decrypt(readfile("hook.enc"), key))
print(crypt.hash("compare me"))
print(crypt.base64encode("binary payload"))