random-web3-mcp

by suxiongye
Verified

generate_random_seed

Generate high-entropy random seeds for encryption, key generation, or unique identifiers. Uses blockchain hash as an entropy source for enhanced randomness and security.

Instructions

Random Seed Generator

Generate high-entropy random seed for encryption or other scenarios requiring high-quality random numbers. Uses blockchain hash as entropy source to ensure randomness. Args: seed_length (int): Length of seed to generate (in bytes) salt (str, optional): Random number salt value for increased randomness. Defaults to "". Returns: str: JSON string containing random seed, formatted as: { "requestId": "Generated request ID", "randomSeed": "Random seed in hexadecimal format", "entropy": Estimated entropy value } Application Scenarios: 1. Key generation (encryption keys, signature seeds) 2. Security tokens (session identifiers, authentication tokens) 3. Random number initialization (PRNG seeds, simulation initial states) 4. Unique identifier generation (UUID seeds, random identifiers)

Input Schema

NameRequiredDescriptionDefault
saltNo
seed_lengthYes

Input Schema (JSON Schema)

{ "properties": { "salt": { "default": "", "title": "Salt", "type": "string" }, "seed_length": { "title": "Seed Length", "type": "integer" } }, "required": [ "seed_length" ], "title": "generate_random_seedArguments", "type": "object" }
ID: l8j1n7vnd2