generar_token_aleatorio
Generate cryptographically secure random tokens for API keys, secrets, and session IDs. Supports hex, base64, and URL-safe formats with configurable entropy length.
Instructions
Genera un token criptográficamente seguro para API keys, secrets, session IDs, etc.
Args: longitud: longitud en bytes de entropía (16-256, default: 32) formato: 'hex' (64 chars para 32 bytes), 'base64', o 'urlsafe'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formato | No | hex | |
| longitud | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |