crypto_manage
Compute file and string checksums, generate random tokens, RSA keys, self-signed certificates, and HMAC digests for secure cryptographic operations.
Instructions
Cryptographic Operations, File/String Checksums, Random Tokens, RSA, and X509 Certificates.
Ops:
hash_file(file_path, algorithm="sha256") Compute checksum digest of a project file (sha256, sha1, md5).
hash_string(content, algorithm="sha256") Compute checksum digest of a string (sha256, sha1, md5).
generate_random_bytes(size=32, format="hex") Generate cryptographically secure random bytes (hex or base64).
generate_rsa_key(key_size=2048, save_path="") Generate and optionally save an RSA private key.
generate_self_signed_cert(key_path="", cert_save_path="", common_name="localhost", issuer_name="GodotMCP") Generate a self-signed X509 certificate.
hmac_digest(key, message, algorithm="sha256") Compute HMAC authentication digest.
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||