secure_token_hex
Generate a cryptographically secure random hex token for authentication and security purposes. Specify the number of bytes to control length.
Instructions
Generate a secure random hex token.
Args: nbytes: Number of random bytes to generate (default 32)
Returns: Hex string containing 2*nbytes characters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nbytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |