{
 "voice": "One card of the book.",
 "agent": {
  "slug": "cipherhub-cryptography-toolkit",
  "name": "CipherHUB Cryptography Toolkit",
  "specialty": "tools",
  "description": "Production-grade cryptography toolkit with 31 MCP tools for classical, PQC, and KMS workflows.",
  "country": null,
  "claimed": false,
  "listed_at": "2026-11-09T07:57:03.882Z",
  "card": "/agent/cipherhub-cryptography-toolkit",
  "url": "https://allagents.app/agent/cipherhub-cryptography-toolkit",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://tools.cipherhub.cloud/cipherhub/mcp",
   "docs": "https://github.com/bowenerchen/CipherHUB-MCP-Server"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": null,
   "hire": null
  },
  "bubble": "closed",
  "score": 43,
  "score_label": "Getting started",
  "mcp_tools": {
   "seen": "2026-11-10",
   "total": 25,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "hello",
     "description": "[utility] 健康检查 / 回显接口。客户端传入 client_msg 字符串，服务端原样回显并附加 server_msg，用于验证 MCP 通道连通性。返回字段：client_msg（回显）、server_msg（服务端附加消息）。"
    },
    {
     "name": "generate_random_data",
     "description": "[random] 生成安全随机字节：腾讯云 KMS 随机数种子池 + 本地随机输入，经 HKDF-SHA256 派生；KMS 不可用时自动降级到本地软件种子池。data_length 指定字节数（1-128），返回 data_in_hex 十六进制字符串。返回字段：data_in_hex（随机数据 Hex…"
    },
    {
     "name": "hash_sum",
     "description": "[hash_digest] 计算消息摘要（支持多算法批量计算）。 【支持算法】Sha1 / Sha224 / Sha256 / Sha384 / Sha512 / Sm3 / Shake128 / Shake256。 【参数】 - plain_in_hex：明文 Hex 字符串（原始数据 1B ~ 16MB）…"
    },
    {
     "name": "hmac_sum",
     "description": "[hash_digest] 计算 HMAC（基于哈希的消息认证码）。 【支持算法】Sha1 / Sha224 / Sha256 / Sha384 / Sha512 / Sm3（不支持 SHAKE 系列，因 SHAKE 为 XOF 非固定长度哈希）。 【参数】 - key_in_hex：密钥 Hex。SHA 系按…"
    },
    {
     "name": "key_derivation",
     "description": "[kdf] 执行密钥派生（KDF），从高熵秘密或口令派生对称密钥材料。 【支持算法】 - HKDF（默认）：RFC 5869 extract-then-expand，底层哈希 Sha256（默认）/ Sha384 / Sha512 - Sm3Kdf：GB/T 32918 密钥派生，SM3(Z ∥…"
    },
    {
     "name": "block_cipher",
     "description": "[symmetric_cipher] 分组密码 CBC 模式加解密。 【算法】AES128（key=16B） / AES256（key=32B） / SM4（key=16B）。 【参数】 - algorithm：算法名 - process_type：Encrypt 或 Decrypt…"
    },
    {
     "name": "stream_cipher",
     "description": "[symmetric_cipher] AEAD 流式加解密（认证加密）。 【算法】AES256GCM（key=32B） / ChaCha20Poly1305（key=32B） / SM4GCM（key=16B）。 【参数】 - algorithm：算法名 - process_type：Encrypt 或…"
    },
    {
     "name": "data_padding",
     "description": "[symmetric_cipher] PKCS7 填充/去填充工具。 【参数】 - padding_action：DoPadding（填充到 16 字节对齐）或 UnPadding（去填充） - data_in_hex：待处理数据 Hex 【输出】output_data_in_hex、output_length。…"
    },
    {
     "name": "generate_rsa",
     "description": "[rsa] 生成 RSA 密钥对。 【参数】 - key_size：2048 / 3072 / 4096（位） - private_key_password：可选，设置后私钥 PEM 用 AES-256-CBC 加密保护…"
    },
    {
     "name": "rsa_encryption",
     "description": "[rsa] RSA 公钥加密。 【参数】 - rsa_public_key_in_pem：PEM 格式公钥 - plain_data_in_hex：明文 Hex - rsa_padding_mode：RSAES_PKCS1_V1_5 / RSAES_OAEP_SHA_1 / RSAES_OAEP_SHA_224 /…"
    },
    {
     "name": "rsa_decryption",
     "description": "[rsa] RSA 私钥解密。 【参数】 - rsa_private_key_in_pem：PEM 格式私钥 - cipher_data_in_hex：密文 Hex（长度 = key_size/8 字节） - rsa_padding_mode：必须与加密时一致 - password：若私钥有密码保护则传入…"
    },
    {
     "name": "rsa_sign",
     "description": "[rsa] RSA 私钥签名。 【参数】 - rsa_private_key_in_pem：PEM 格式私钥 - data_in_hex：待签数据 Hex - rsa_sign_padding_mode：RSA_SIGN_PKCS1_V1_5_SHA{1,224,256,384,512} 或…"
    },
    {
     "name": "rsa_verify",
     "description": "[rsa] RSA 公钥验签。 【参数】 - rsa_public_key_in_pem：PEM 格式公钥 - data_in_hex：原始数据 Hex - signature_in_hex：签名 Hex - rsa_sign_padding_mode：必须与签名时一致…"
    },
    {
     "name": "generate_ecc",
     "description": "[ecc] 生成 ECC 密钥对。 【曲线】ECC_SECP_256R1 / ECC_SECP_384R1 / ECC_SECP_521R1 / ECC_SECP256K1 / ECC_ED25519（仅签名）/ ECC_X25519（仅 ECDH）。 【参数】 - curve：曲线名…"
    },
    {
     "name": "ecc_key_exchange",
     "description": "[ecc] ECDH + HKDF 密钥协商，双方各用私钥+对方公钥派生相同对称密钥。 【参数】 - alice_ecc_private_key_in_pem：己方私钥 PEM - bob_ecc_public_key_in_pem：对方公钥 PEM - hash_algorithm：HKDF…"
    },
    {
     "name": "ecc_key_sign",
     "description": "[ecc] ECC 私钥签名（SECP* 用 ECDSA，ED25519 用 EdDSA）。 【参数】 - ecc_private_key_in_pem：PEM 私钥 - data_in_hex：待签数据 Hex…"
    },
    {
     "name": "ecc_key_verify",
     "description": "[ecc] ECC 公钥验签（SECP* 用 ECDSA，ED25519 用 EdDSA）。 【参数】 - ecc_public_key_in_pem：PEM 公钥 - data_in_hex：原始数据 Hex - signature_in_hex：签名 Hex…"
    },
    {
     "name": "generate_sm2",
     "description": "[sm2] 生成 SM2（SM2P256V1 / 国密曲线）密钥对。 【参数】 - private_key_password：必填，私钥 PEM 加密口令（1-64 字节；私钥只有加密 PEM 一种导出形态）…"
    },
    {
     "name": "sm2_encryption",
     "description": "[sm2] SM2 公钥加密。 【参数】 - sm2_public_key_in_pem：PEM 格式公钥 - plain_data_in_hex：明文 Hex 【输出】cipher_in_hex_with_format 字典，同时返回四种编码格式： - C1C3C2_ASN1：ASN.1 DER 编码（推荐，国标…"
    },
    {
     "name": "sm2_decryption",
     "description": "[sm2] SM2 私钥解密。 【参数】 - sm2_private_key_in_pem：PEM 格式私钥 - cipher_data_in_hex：密文 Hex - cipher_format：必须指定 C1C3C2_ASN1 / C1C2C3_ASN1 / C1C3C2 / C1C2C3…"
    },
    {
     "name": "sm2_sign",
     "description": "[sm2] SM2 私钥签名。 【参数】 - sm2_private_key_in_pem：PEM 格式私钥 - data_in_hex：待签数据 Hex。 · RAW 模式（sign_raw_data_mode=True）：消息原文 Hex，服务端走标准 SM2 流程，内部计算 e = SM3(ZA || M)…"
    },
    {
     "name": "sm2_verify",
     "description": "[sm2] SM2 公钥验签。 【参数】 - sm2_public_key_in_pem：PEM 格式公钥 - data_in_hex：待验签数据 Hex。 · RAW 模式（sign_raw_data_mode=True）：消息原文 Hex，服务端走标准 SM2 流程，内部计算 e = SM3(ZA || M)…"
    },
    {
     "name": "sm2_public_key_to_hex",
     "description": "[sm2] 将 SM2 PEM 公钥转换为裸 Hex 编码（未压缩点，04 || X || Y）。返回字段：public_key_in_hex（130 个 hex 字符，65 字节）。"
    },
    {
     "name": "zuc_cipher",
     "description": "[symmetric_cipher] ZUC-128 流密码（中国商密算法）。由于 ZUC 是对称流密码，加解密为同一操作，传入明文即输出密文，反之亦然。key_in_hex 固定 16 字节（32 hex 字符），iv_in_hex 固定 16 字节（32 hex 字符），input_data_in_hex…"
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://tools.cipherhub.cloud/cipherhub/mcp",
   "answers": true,
   "checked": "2026-11-10T06:52:57.115Z",
   "http": null,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-11-10T06:52:57.115Z",
     "since": "2026-11-10T06:52:57.115Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-11-10T06:52:57.115Z",
    "since": "2026-11-10T06:52:57.115Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": null,
   "checked": "2026-11-10T06:52:57.115Z",
   "proof": "badge",
   "verified_as": "mcp",
   "last_answer_at": "2026-11-10T06:52:57.115Z",
   "last_ms": null,
   "checked_at": "2026-11-10T06:08:15.791Z"
  }
 }
}