Skip to content
This page View Markdown Open in ChatGPT Open in Claude

Encrypt data

g.sys.system.encrypt calls the encrypt data system API from your code, whatever the settings of that API say about HTTP callers.

Encrypt System API

Get encrypted data using global object 'g'.

let encryptedData = await g.sys.system.encrypt({
    "data": {
        "name": "Bob"
    }
});