API & MCP

Everything a person can do on Cryptography & security tools, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • GET https://crypto.usefulweb.site/api/v1/tools – catalog
  • GET https://crypto.usefulweb.site/api/v1/tools/{id} – inputs, output schema, examples
  • POST https://crypto.usefulweb.site/api/v1/tools/{id}/calculate – run a tool
  • GET https://crypto.usefulweb.site/api/v1/workflows · POST https://crypto.usefulweb.site/api/v1/workflows/{id}/run
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Tools on Cryptography & security tools

  • Crypto Kitchen – CyberChef-style recipes: chain encodings, compression, hashes, AES, JWT and more, step by step. crypto_kitchen
  • Hash & HMAC Calculator – MD5, SHA-2, SHA-3, BLAKE2, CRC32 and HMAC of text or files, with checksum compare. hash_hmac_calculator
  • Key Derivation Lab – Derive keys with PBKDF2, scrypt, Argon2id and HKDF; compare costs with OWASP advice. key_derivation_lab
  • Local File Encryption Studio – Encrypt and decrypt files with AES-256-GCM and a password. file_encryption_studio
  • Password & Passphrase Generator – Strong random passwords and passphrases with exact entropy. password_generator
  • Private Breach Checker – Check if a password appears in known breaches without revealing it (k-anonymity). private_breach_checker
  • RSA/ECC Key Inspector – Inspect PEM, DER, JWK or OpenSSH keys: type, size, curve, fingerprints, thumbprint and weaknesses. rsa_ecc_key_inspector
  • Shamir Secret Sharing – Split a secret into n shares so any k recover it, and combine shares. shamir_secret_sharing
  • TLS Cipher-Suite Simulator – See which TLS version, cipher and group browsers, Android, Java and OpenSSL get from your server. tls_cipher_suite_simulator
  • X.509 / ASN.1 Certificate Inspector – Decode X.509 certificates, chains and CSRs: SANs, usages, CT SCTs, chain order and an ASN.1 tree. x509_certificate_inspector

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://crypto.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: crypto_kitchen, hash_hmac_calculator, key_derivation_lab, file_encryption_studio, password_generator, private_breach_checker, rsa_ecc_key_inspector, shamir_secret_sharing, tls_cipher_suite_simulator, x509_certificate_inspector
  • Local stdio connector: node src/mcp-stdio.ts
{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://crypto.usefulweb.site/mcp" }
  }
}