Skip to main content
Glama

crypto_generate_token

Generate cryptographically secure random tokens as hex strings for authentication, security, or unique identifiers. Specify byte length for custom token size.

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

TableJSON Schema
NameRequiredDescriptionDefault
lengthNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0-co/agent-friend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server