crypto_generate_token
Generate a cryptographically secure random token as a hex string. Specify the number of random bytes; default yields a 64-character hex token.
Instructions
[crypto] Generate a cryptographically secure random token. Returns a hex string. length is the number of random bytes (output will be 2× as long in hex). Default 32 bytes → 64-char hex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |