CipherHUB Cryptography Toolkit
Ce que fait ce MCP
Provides cryptographic operations including key generation, encryption, signing, verification, hashing, certificates, CMS, COSE, ASN.1, and post-quantum key exchange workflows.
Outils
Schéma d’entrée
{'type': 'object', 'title': 'Asn1ParseRequest', 'properties': {'asn1_in_hex': {'type': 'string', 'title': 'Asn1 In Hex', 'default': '', 'description': 'ASN.1/BER 字节的十六进制字符串(1B~128KB,单根且逐字节闭合;BER 不定长/分段八位串/高 tag 号均容忍)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'BlockCipherRequest', 'properties': {'algorithm': {'enum': ['AES128', 'AES256', 'SM4'], 'type': 'string', 'title': 'Algorithm', 'default': 'AES256', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'iv_in_hex': {'type': 'string', 'title': 'Iv In Hex', 'default': '', 'description': '初始向量的十六进制字符串,固定 32 个 hex 字符(16 字节)'}, 'key_in_hex': {'type': 'string', 'title': 'Key In Hex', 'default': '', 'description': '密钥的十六进制字符串。长度取决于算法:AES256=64 字符(32B),AES128/SM4=32 字符(16B)'}, 'process_type': {'enum': ['Encrypt', 'Decrypt'], 'type': 'string', 'title': 'Process Type', 'default': 'Encrypt', 'description': '操作类型,可选值:Encrypt / Decrypt'}, 'input_data_in_hex': {'type': 'string', 'title': 'Input Data In Hex', 'default': '', 'description': '输入数据的十六进制字符串(加密时为明文,解密时为密文,1B~16MB)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CborDecodeRequest', 'properties': {'cbor_in_hex': {'type': 'string', 'title': 'Cbor In Hex', 'default': '', 'description': 'CBOR 字节的十六进制字符串(1B~128KB,单数据项且逐字节闭合)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CborEncodeRequest', 'properties': {'canonical': {'type': 'boolean', 'title': 'Canonical', 'default': True, 'description': 'True=RFC 8949 §4.2.1 规范编码(定长最短、map 键排序);与 prefer_indefinite 互斥'}, 'json_payload': {'type': 'string', 'title': 'Json Payload', 'default': '', 'description': '待编码的结构化消息 JSON 文本(≤65536 字符)。CBOR:{"$bytes":"<hex>"} 渲染 byte string、{"$tag":n,"value":…} 渲染 tagged value;DER:ASN.1 节点 DSL(一节点一主键,如 {"sequence":[{"oid":"1.2…"}]},形态清单见 der_encode 工具描述)'}, 'prefer_indefinite': {'type': 'boolean', 'title': 'Prefer Indefinite', 'default': False, 'description': 'True=不定长教学编码(字符串/数组/map 用 0x5f/0x7f/0x9f/0xbf + 0xff break)'}, 'coerce_integer_keys': {'type': 'boolean', 'title': 'Coerce Integer Keys', 'default': False, 'description': 'True 时形如 "-35"/"0" 的十进制字符串键渲染为 CBOR 整数键(如 Nitro protected 头 {1:-35})'}}, 'description': 'json_payload 中的教学标记:\n- {"$bytes": "<hex>"} 渲染为 byte string(major type 2)\n- {"$tag": <n>, "value": …} 渲染为 tagged value(major type 6)\ncoerce_integer_keys=True 时,形如 "-35"/"0" 的十进制字符串键渲染为整数键\n(复刻 Nitro attestation 的 protected 头 {1:-35} 与 pcrs map)。'}
Schéma d’entrée
{'type': 'object', 'title': 'CertParseRequest', 'properties': {'certificate_in_pem': {'type': 'string', 'title': 'Certificate In Pem', 'default': '', 'description': '终端实体证书的 PEM 文本(含 BEGIN/END CERTIFICATE 头尾,≤10KB)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CertVerifyRequest', 'properties': {'sm2_id': {'type': 'string', 'title': 'Sm2 Id', 'default': '1234567812345678', 'description': "SM2 签名者 ID(仅 GM 证书验证使用;默认 '1234567812345678',GM/T 0009 与 GmSSL 同源默认值,1~64 字节)"}, 'certificate_in_pem': {'type': 'string', 'title': 'Certificate In Pem', 'default': '', 'description': '终端实体证书的 PEM 文本(含 BEGIN/END CERTIFICATE 头尾,≤10KB)'}, 'ca_certificate_in_pem': {'type': 'string', 'title': 'Ca Certificate In Pem', 'default': '', 'description': 'CA 证书的 PEM 文本(含 BEGIN/END CERTIFICATE 头尾,≤10KB)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CmsEnvelopedDecryptRequest', 'properties': {'cms_in_hex': {'type': 'string', 'title': 'Cms In Hex', 'default': '', 'description': 'CMS 信封 DER/BER 编码的十六进制字符串(≤16MB;KMS 回包这类 BER 不定长编码可直接输入)'}, 'recipient_private_key_in_pem': {'type': 'string', 'title': 'Recipient Private Key In Pem', 'default': '', 'description': '收件人 RSA 私钥的 PEM 文本(含 BEGIN/END 头尾)'}, 'recipient_private_key_password': {'type': 'string', 'title': 'Recipient Private Key Password', 'default': '', 'description': '收件人私钥的加密密码(原始字符串,未加密则留空)'}}, 'description': '结构性解析成功即 success(树总返回);解密失败落 decrypted=false + reason。\npadding / 内容算法从消息声明还原,不收客户端多余输入。'}
Schéma d’entrée
{'type': 'object', 'title': 'CmsEnvelopedEncryptRequest', 'properties': {'plain_data_in_hex': {'type': 'string', 'title': 'Plain Data In Hex', 'default': '', 'description': '明文的十六进制字符串'}, 'key_wrap_algorithm': {'enum': ['RSAES_OAEP_SHA_256', 'RSAES_OAEP_SHA_1', 'RSAES_OAEP_SHA_224', 'RSAES_OAEP_SHA_384', 'RSAES_OAEP_SHA_512', 'RSAES_PKCS1_V1_5'], 'type': 'string', 'title': 'Key Wrap Algorithm', 'default': 'RSAES_OAEP_SHA_256', 'description': '密钥封装算法,可选值:RSAES_OAEP_SHA_256 / RSAES_OAEP_SHA_1 / RSAES_OAEP_SHA_224 / RSAES_OAEP_SHA_384 / RSAES_OAEP_SHA_512 / RSAES_PKCS1_V1_5'}, 'content_encryption_algorithm': {'enum': ['AES256_CBC', 'AES128_CBC', 'AES256_GCM', 'AES128_GCM'], 'type': 'string', 'title': 'Content Encryption Algorithm', 'default': 'AES256_CBC', 'description': '内容加密算法,可选值:AES256_CBC / AES128_CBC(RFC 3565)/ AES256_GCM / AES128_GCM(RFC 5084,产出 authEnvelopedData 形态 RFC 5083)'}, 'recipient_certificate_in_pem': {'type': 'string', 'title': 'Recipient Certificate In Pem', 'default': '', 'description': '收件人 RSA 证书的 PEM 文本(含 BEGIN/END CERTIFICATE 头尾)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CmsEnvelopedParseRequest', 'properties': {'cms_in_hex': {'type': 'string', 'title': 'Cms In Hex', 'default': '', 'description': 'CMS 信封 DER/BER 编码的十六进制字符串(≤16MB;KMS 回包这类 BER 不定长编码可直接输入)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CmsSignedSignRequest', 'properties': {'detached': {'type': 'boolean', 'title': 'Detached', 'default': False, 'description': 'True 时载荷带外(COSE payload 置 null / CMS eContent 缺省),验签必须提供外部内容;默认 False'}, 'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'hash_algorithm': {'enum': ['Sha256', 'Sha384', 'Sha512', 'Sha224', 'Sha1'], 'type': 'string', 'title': 'Hash Algorithm', 'default': 'Sha256', 'description': '哈希算法名称,可选值:Sha1 / Sha224 / Sha256 / Sha384 / Sha512(ECC 不支持 Sm3)'}, 'signer_certificate_in_pem': {'type': 'string', 'title': 'Signer Certificate In Pem', 'default': '', 'description': '签名者证书的 PEM 文本(嵌入 certificates 集,验签方可按 sid 定位)'}, 'signer_private_key_in_pem': {'type': 'string', 'title': 'Signer Private Key In Pem', 'default': '', 'description': '签名者私钥的 PEM 文本(含 BEGIN/END 头尾)'}, 'signer_private_key_password': {'type': 'string', 'title': 'Signer Private Key Password', 'default': '', 'description': '签名者私钥的加密密码(原始字符串,未加密则留空)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CmsSignedVerifyRequest', 'properties': {'cms_in_hex': {'type': 'string', 'title': 'Cms In Hex', 'default': '', 'description': 'CMS 信封 DER/BER 编码的十六进制字符串(≤16MB;KMS 回包这类 BER 不定长编码可直接输入)'}, 'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'signer_certificate_in_pem': {'type': 'string', 'title': 'Signer Certificate In Pem', 'default': '', 'description': '签名者证书的 PEM 文本(嵌入 certificates 集,验签方可按 sid 定位)'}}, 'description': '证书留空则从消息 certificates 集提取(KMS 验 Nitro 文档同思路);\ndetached 消息必须给 data_in_hex(外部内容)。'}
Schéma d’entrée
{'type': 'object', 'title': 'CoseSign1ParseRequest', 'properties': {'cose_sign1_in_hex': {'type': 'string', 'title': 'Cose Sign1 In Hex', 'default': '', 'description': 'COSE_Sign1 消息的十六进制字符串(≤128KB,4 元素数组)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CoseSign1SignRequest', 'properties': {'detached': {'type': 'boolean', 'title': 'Detached', 'default': False, 'description': 'True 时载荷带外(COSE payload 置 null / CMS eContent 缺省),验签必须提供外部内容;默认 False'}, 'algorithm': {'enum': ['ES256', 'ES384', 'ES512', 'EdDSA'], 'type': 'string', 'title': 'Algorithm', 'default': 'ES384', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'payload_in_hex': {'type': 'string', 'title': 'Payload In Hex', 'default': '', 'description': 'COSE Sign1 待签 payload 的十六进制字符串(1B~256KB)'}, 'external_aad_in_hex': {'type': 'string', 'title': 'External Aad In Hex', 'default': '', 'description': '外部 AAD 的十六进制字符串(可选;参与 Sig_structure 但不出现在消息里)'}, 'ecc_private_key_in_pem': {'type': 'string', 'title': 'Ecc Private Key In Pem', 'default': '', 'description': 'ECC 私钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}, 'ecc_private_key_password': {'type': 'string', 'title': 'Ecc Private Key Password', 'default': '', 'description': 'ECC 私钥的加密密码(原始字符串,非编码格式)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'CoseSign1VerifyRequest', 'properties': {'cose_sign1_in_hex': {'type': 'string', 'title': 'Cose Sign1 In Hex', 'default': '', 'description': 'COSE_Sign1 消息的十六进制字符串(≤128KB,4 元素数组)'}, 'external_aad_in_hex': {'type': 'string', 'title': 'External Aad In Hex', 'default': '', 'description': '外部 AAD 的十六进制字符串(可选;参与 Sig_structure 但不出现在消息里)'}, 'ecc_public_key_in_pem': {'type': 'string', 'title': 'Ecc Public Key In Pem', 'default': '', 'description': 'ECC 公钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}, 'detached_payload_in_hex': {'type': 'string', 'title': 'Detached Payload In Hex', 'default': '', 'description': 'detached 消息的外部载荷十六进制字符串(消息 payload 为 null 时验签必填,1B~256KB)'}}, 'description': 'ecc_public_key_in_pem 留空时从 payload 的 certificate 字段提取公钥\n(复刻 KMS 验 Nitro attestation 文档的方式);key_source 回显实际来源。\n验签失败是 success + verified=false + reason(cert_verify 先例),\n仅消息本身无法解析为 COSE_Sign1 数组才返回错误码。'}
Schéma d’entrée
{'type': 'object', 'title': 'CtrCipherRequest', 'properties': {'algorithm': {'enum': ['AES256CTR', 'SM4CTR'], 'type': 'string', 'title': 'Algorithm', 'default': 'AES256CTR', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'iv_in_hex': {'type': 'string', 'title': 'Iv In Hex', 'default': '', 'description': '初始向量的十六进制字符串,固定 32 个 hex 字符(16 字节)'}, 'key_in_hex': {'type': 'string', 'title': 'Key In Hex', 'default': '', 'description': '密钥的十六进制字符串。长度取决于算法:AES256=64 字符(32B),AES128/SM4=32 字符(16B)'}, 'input_data_in_hex': {'type': 'string', 'title': 'Input Data In Hex', 'default': '', 'description': '输入数据的十六进制字符串(加密时为明文,解密时为密文,1B~16MB)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'DataPaddingRequest', 'required': ['data_in_hex'], 'properties': {'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'padding_action': {'enum': ['DoPadding', 'UnPadding'], 'type': 'string', 'title': 'Padding Action', 'default': 'DoPadding', 'description': '填充操作,可选值:DoPadding(填充到 16 字节对齐)/ UnPadding(去填充)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'DerEncodeRequest', 'properties': {'der': {'type': 'boolean', 'title': 'Der', 'default': True, 'description': 'True=规范 DER(X.690 §10 定长最短 + SET OF 按 §11.6 排序);与 ber_indefinite 互斥'}, 'json_payload': {'type': 'string', 'title': 'Json Payload', 'default': '', 'description': '待编码的结构化消息 JSON 文本(≤65536 字符)。CBOR:{"$bytes":"<hex>"} 渲染 byte string、{"$tag":n,"value":…} 渲染 tagged value;DER:ASN.1 节点 DSL(一节点一主键,如 {"sequence":[{"oid":"1.2…"}]},形态清单见 der_encode 工具描述)'}, 'ber_indefinite': {'type': 'boolean', 'title': 'Ber Indefinite', 'default': False, 'description': 'True=构造容器不定长 BER(0x80 + 两字节 EOC 递归,原语保持定长;AWS KMS 回包同款形态)'}}, 'description': 'json_payload 中的节点形态(一主键一节点,未知/多主键拒绝):\n- {"integer": n} / {"enumerated": n} / {"boolean": true} / {"null": true}\n- {"oid": "1.2.840..."}(首弧 0/1 时次弧 ≤39)\n- {"octet_string": "<hex>"} / {"bit_string": {"hex": ..., "unused_bits": 0..7}}\n- {"utf8_string"|"printable_string"|"ia5_string"|"numeric_string": s}\n- {"utc_time": "YYMMDDHHMMSSZ"} / {"generalized_time": "YYYYMMDDHHMMSS[.f]Z"}\n- {"sequence": [...]} / {"set": [...]}(SET OF 在 der 态按 X.690 §11.6 排序)\n- {"context"|"application"|"private": {"number": n, "children"| "primitive_hex": …}}\n- {"raw": {"tag_hex": ..., "content_hex": ...}}(逃生舱)\nder=True 规范 DER;ber_indefinite=True 构造容器不定长 BER(AWS KMS 回包\n同款特征);两者皆 false 为定长 + SET OF 作者序的教学 BER 态。'}
Schéma d’entrée
{'type': 'object', 'title': 'EccKeyExchangeRequest', 'properties': {'salt': {'type': 'string', 'title': 'Salt', 'default': 'e5af86e7a081e5ada6e4babae38090436970686572485542e38091', 'description': 'HKDF salt 的十六进制字符串(可选)'}, 'hash_algorithm': {'enum': ['Sha1', 'Sha224', 'Sha256', 'Sha384', 'Sha512'], 'type': 'string', 'title': 'Hash Algorithm', 'default': 'Sha512', 'description': '哈希算法名称,可选值:Sha1 / Sha224 / Sha256 / Sha384 / Sha512(ECC 不支持 Sm3)'}, 'additional_info': {'type': 'string', 'title': 'Additional Info', 'default': '536572696f75732043727970746f6772617068790a20202020437265617469766520536f6c7574696f6e730a202020204d617070696e67204469676974616c205472757374', 'description': 'HKDF info 的十六进制字符串(可选)'}, 'derived_key_length': {'type': 'integer', 'title': 'Derived Key Length', 'default': 32, 'description': 'HKDF/KDF 派生密钥长度(整数,16~1024 字节;KDF Pbkdf2Sm3 上限 256)'}, 'bob_ecc_public_key_in_pem': {'type': 'string', 'title': 'Bob Ecc Public Key In Pem', 'default': '', 'description': 'Bob 侧 ECC 公钥的 PEM 文本'}, 'alice_ecc_private_key_in_pem': {'type': 'string', 'title': 'Alice Ecc Private Key In Pem', 'default': '', 'description': 'Alice 侧 ECC 私钥的 PEM 文本'}, 'alice_ecc_private_key_password': {'type': 'string', 'title': 'Alice Ecc Private Key Password', 'default': '', 'description': 'Alice 侧 ECC 私钥的加密密码(原始字符串,非编码格式)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'EccSignRequest', 'properties': {'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'hash_algorithm': {'enum': ['Sha1', 'Sha224', 'Sha256', 'Sha384', 'Sha512'], 'type': 'string', 'title': 'Hash Algorithm', 'default': 'Sha512', 'description': '哈希算法名称,可选值:Sha1 / Sha224 / Sha256 / Sha384 / Sha512(ECC 不支持 Sm3)'}, 'sign_raw_data_mode': {'type': 'boolean', 'title': 'Sign Raw Data Mode', 'default': True, 'description': 'True=对原文签名(服务端内部先哈希),False=data_in_hex 已是哈希摘要的 Hex'}, 'ecc_private_key_in_pem': {'type': 'string', 'title': 'Ecc Private Key In Pem', 'default': '', 'description': 'ECC 私钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}, 'ecc_private_key_password': {'type': 'string', 'title': 'Ecc Private Key Password', 'default': '', 'description': 'ECC 私钥的加密密码(原始字符串,非编码格式)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'EccVerifyRequest', 'properties': {'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'hash_algorithm': {'enum': ['Sha1', 'Sha224', 'Sha256', 'Sha384', 'Sha512'], 'type': 'string', 'title': 'Hash Algorithm', 'default': 'Sha512', 'description': '哈希算法名称,可选值:Sha1 / Sha224 / Sha256 / Sha384 / Sha512(ECC 不支持 Sm3)'}, 'signature_in_hex': {'type': 'string', 'title': 'Signature In Hex', 'default': '', 'description': '签名的十六进制字符串'}, 'sign_raw_data_mode': {'type': 'boolean', 'title': 'Sign Raw Data Mode', 'default': True, 'description': 'True=对原文签名(服务端内部先哈希),False=data_in_hex 已是哈希摘要的 Hex'}, 'ecc_public_key_in_pem': {'type': 'string', 'title': 'Ecc Public Key In Pem', 'default': '', 'description': 'ECC 公钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'GenerateECCRequest', 'properties': {'curve': {'enum': ['ECC_SECP_256R1', 'ECC_SECP_384R1', 'ECC_SECP_521R1', 'ECC_SECP256K1', 'ECC_ED25519', 'ECC_X25519'], 'type': 'string', 'title': 'Curve', 'default': 'ECC_SECP_256R1', 'description': 'ECC 曲线名,可选值:ECC_SECP_256R1 / ECC_SECP_384R1 / ECC_SECP_521R1 / ECC_SECP256K1 / ECC_ED25519 / ECC_X25519'}, 'private_key_password': {'type': 'string', 'title': 'Private Key Password', 'default': '', 'description': '私钥的加密密码(原始字符串,非编码格式),可选'}}}
Schéma d’entrée
{'type': 'object', 'title': 'GenerateRandomDataRequest', 'required': ['data_length'], 'properties': {'data_length': {'type': 'integer', 'title': 'Data Length', 'description': '随机数据字节数(整数,1~128)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'GenerateRSARequest', 'properties': {'key_size': {'enum': ['2048', '3072', '4096'], 'type': 'integer', 'title': 'Key Size', 'default': 2048, 'description': 'RSA 密钥位数,可选值:2048 / 3072 / 4096'}, 'private_key_password': {'type': 'string', 'title': 'Private Key Password', 'default': '', 'description': '私钥的加密密码(原始字符串,非编码格式),可选'}}}
Schéma d’entrée
{'type': 'object', 'title': 'GenerateSM2Request', 'properties': {'private_key_password': {'type': 'string', 'title': 'Private Key Password', 'default': '', 'description': '私钥的加密密码(原始字符串,非编码格式),可选'}}}
Schéma d’entrée
{'type': 'object', 'title': 'GenerateSM9Request', 'properties': {'key_kind': {'enum': ['Sign', 'Enc'], 'type': 'string', 'title': 'Key Kind', 'default': 'Enc', 'description': 'SM9 主密钥类型,可选值:Sign(签名主密钥)/ Enc(加密主密钥)'}, 'private_key_password': {'type': 'string', 'title': 'Private Key Password', 'default': '', 'description': '私钥的加密密码(原始字符串,非编码格式),可选'}}}
Schéma d’entrée
{'type': 'object', 'title': 'HashSumRequest', 'properties': {'plain_in_hex': {'type': 'string', 'title': 'Plain In Hex', 'default': '', 'description': '原始数据的十六进制字符串(1B~16MB,即 2~33554432 个 hex 字符)'}, 'required_hash_modes': {'enum': ['Sha1', 'Sha224', 'Sha256', 'Sha384', 'Sha512', 'Sm3', 'Shake128', 'Shake256'], 'type': 'array', 'items': {'type': 'string'}, 'title': 'Required Hash Modes', 'default': ['Sha256', 'Sha384', 'Sha512', 'Sha1', 'Sha224', 'Sm3', 'Shake128', 'Shake256'], 'description': '哈希算法名称数组,指定需要计算的算法列表,可选值:Sha1 / Sha224 / Sha256 / Sha384 / Sha512 / Sm3 / Shake128 / Shake256(HMAC 不支持 Shake 系列)'}, 'shake_output_length': {'type': 'integer', 'title': 'Shake Output Length', 'default': 64, 'description': 'SHAKE 系列输出字节长度(整数,32~256,默认 64)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'HelloRequest', 'required': ['client_msg'], 'properties': {'client_msg': {'type': 'string', 'title': 'Client Msg', 'description': '任意字符串,服务端原样回显(原始字符串,非编码格式)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'HmacSumRequest', 'properties': {'key_in_hex': {'type': 'string', 'title': 'Key In Hex', 'default': '', 'description': '密钥的十六进制字符串。长度取决于算法:AES256=64 字符(32B),AES128/SM4=32 字符(16B)'}, 'plain_in_hex': {'type': 'string', 'title': 'Plain In Hex', 'default': '', 'description': '原始数据的十六进制字符串(1B~16MB,即 2~33554432 个 hex 字符)'}, 'required_hash_modes': {'enum': ['Sha1', 'Sha224', 'Sha256', 'Sha384', 'Sha512', 'Sm3'], 'type': 'array', 'items': {'type': 'string'}, 'title': 'Required Hash Modes', 'default': ['Sha256', 'Sha384', 'Sha512', 'Sha1', 'Sha224', 'Sm3'], 'description': '哈希算法名称数组,指定需要计算的算法列表,可选值:Sha1 / Sha224 / Sha256 / Sha384 / Sha512 / Sm3 / Shake128 / Shake256(HMAC 不支持 Shake 系列)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'HybridKEXRequest', 'properties': {'bob_x25519_public_key_pem': {'type': 'string', 'title': 'Bob X25519 Public Key Pem', 'default': ''}, 'bob_x25519_private_key_pem': {'type': 'string', 'title': 'Bob X25519 Private Key Pem', 'default': '', 'description': 'Bob 侧 X25519 私钥的 PEM 文本'}, 'alice_x25519_public_key_pem': {'type': 'string', 'title': 'Alice X25519 Public Key Pem', 'default': ''}, 'alice_x25519_private_key_pem': {'type': 'string', 'title': 'Alice X25519 Private Key Pem', 'default': '', 'description': 'Alice 侧 X25519 私钥的 PEM 文本'}, 'bob_ml_kem_public_key_base64': {'type': 'string', 'title': 'Bob Ml Kem Public Key Base64', 'default': '', 'description': 'Bob 侧 ML-KEM 公钥的 Base64 字符串(raw 或 SPKI DER)'}, 'bob_ml_kem_secret_key_base64': {'type': 'string', 'title': 'Bob Ml Kem Secret Key Base64', 'default': '', 'description': 'Bob 侧 ML-KEM 私钥的 Base64 字符串(raw 或 PKCS#8 DER)'}, 'alice_ml_kem_public_key_base64': {'type': 'string', 'title': 'Alice Ml Kem Public Key Base64', 'default': '', 'description': 'Alice 侧 ML-KEM 公钥的 Base64 字符串(raw 或 SPKI DER)'}, 'alice_ml_kem_secret_key_base64': {'type': 'string', 'title': 'Alice Ml Kem Secret Key Base64', 'default': '', 'description': 'Alice 侧 ML-KEM 私钥的 Base64 字符串(raw 或 PKCS#8 DER)'}}, 'description': 'X25519 + ML-KEM-768 混合密钥交换请求。\n\n所有密钥字段均可选:\n- 若留空,服务端随机生成\n- 若传入,服务端使用传入的密钥对进行协商\n\nAlice 侧字段:\n- alice_x25519_private_key_pem: Alice X25519 私钥 (PEM)\n- alice_x25519_public_key_pem: Alice X25519 公钥 (PEM,仅展示/回填)\n- alice_ml_kem_public_key_base64: Alice ML-KEM 公钥 (raw 或 SPKI DER Base64)\n- alice_ml_kem_secret_key_base64: Alice ML-KEM 私钥 (raw 或 PKCS#8 DER Base64)\n\nBob 侧字段同理。若传入 ML-KEM key,公钥和私钥必须同时提供;响应保持 raw key Base64 以兼容演示流程。'}
Schéma d’entrée
{'type': 'object', 'title': 'KeyDerivationRequest', 'properties': {'password': {'type': 'string', 'title': 'Password', 'default': '', 'description': '密码(原始字符串,非编码格式;私钥工具为私钥加密密码,KDF Pbkdf2Sm3 为待拉伸口令)'}, 'algorithm': {'enum': ['HKDF', 'Sm3Kdf', 'Pbkdf2Sm3'], 'type': 'string', 'title': 'Algorithm', 'default': 'HKDF', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'iterations': {'type': 'integer', 'title': 'Iterations', 'default': 10000, 'description': 'PBKDF2 迭代次数(整数;KDF Pbkdf2Sm3 范围 10000~4000000,默认 10000)'}, 'info_in_hex': {'type': 'string', 'title': 'Info In Hex', 'default': '', 'description': 'HKDF 上下文信息的十六进制字符串(可选,≤256B)'}, 'salt_in_hex': {'type': 'string', 'title': 'Salt In Hex', 'default': '', 'description': '盐的十六进制字符串(KDF,可选 ≤256B;Pbkdf2Sm3 留空则服务端生成 16B 随机盐并回显)'}, 'input_in_hex': {'type': 'string', 'title': 'Input In Hex', 'default': '', 'description': '输入秘密的十六进制字符串(KDF:HKDF 的 IKM / Sm3Kdf 的共享秘密 Z,1B~16MB)'}, 'hash_algorithm': {'enum': ['Sha256', 'Sha384', 'Sha512'], 'type': 'string', 'title': 'Hash Algorithm', 'default': 'Sha256', 'description': '哈希算法名称,可选值:Sha1 / Sha224 / Sha256 / Sha384 / Sha512(ECC 不支持 Sm3)'}, 'derived_key_length': {'type': 'integer', 'title': 'Derived Key Length', 'default': 32, 'description': 'HKDF/KDF 派生密钥长度(整数,16~1024 字节;KDF Pbkdf2Sm3 上限 256)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'MLDSAComputeMURequest', 'properties': {'algorithm': {'enum': ['ML-DSA-44', 'ML-DSA-65', 'ML-DSA-87'], 'type': 'string', 'title': 'Algorithm', 'default': 'ML-DSA-65', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'context_in_hex': {'type': 'string', 'title': 'Context In Hex', 'default': '', 'description': 'ML-DSA 上下文的十六进制字符串(可选,最大 255 字节)'}, 'message_in_hex': {'type': 'string', 'title': 'Message In Hex', 'default': '', 'description': '消息的十六进制字符串(空字符串表示空消息)'}, 'public_key_spki_in_hex': {'type': 'string', 'title': 'Public Key Spki In Hex', 'default': '', 'description': 'ML-DSA 公钥的十六进制字符串(SPKI DER 或裸公钥均可)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'MLDSAKeyGenRequest', 'properties': {'algorithm': {'enum': ['ML-DSA-44', 'ML-DSA-65', 'ML-DSA-87'], 'type': 'string', 'title': 'Algorithm', 'default': 'ML-DSA-65', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'MLDSASignRequest', 'properties': {'algorithm': {'enum': ['ML-DSA-44', 'ML-DSA-65', 'ML-DSA-87'], 'type': 'string', 'title': 'Algorithm', 'default': 'ML-DSA-65', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'sign_mode': {'enum': ['RAW', 'EXTERNAL_MU'], 'type': 'string', 'title': 'Sign Mode', 'default': 'RAW', 'description': 'ML-DSA 签名模式,可选值:RAW(默认,直接签名原文)/ EXTERNAL_MU(先计算 mu 再签名,与 AWS KMS 语义等价)'}, 'context_in_hex': {'type': 'string', 'title': 'Context In Hex', 'default': '', 'description': 'ML-DSA 上下文的十六进制字符串(可选,最大 255 字节)'}, 'message_in_hex': {'type': 'string', 'title': 'Message In Hex', 'default': '', 'description': '消息的十六进制字符串(空字符串表示空消息)'}, 'private_key_in_hex': {'type': 'string', 'title': 'Private Key In Hex', 'default': '', 'description': 'ML-DSA 私钥的十六进制字符串(PKCS#8 DER 编码)'}, 'public_key_spki_in_hex': {'type': 'string', 'title': 'Public Key Spki In Hex', 'default': '', 'description': 'ML-DSA 公钥的十六进制字符串(SPKI DER 或裸公钥均可)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'MLDSAVerifyRequest', 'properties': {'algorithm': {'enum': ['ML-DSA-44', 'ML-DSA-65', 'ML-DSA-87'], 'type': 'string', 'title': 'Algorithm', 'default': 'ML-DSA-65', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'sign_mode': {'enum': ['RAW', 'EXTERNAL_MU'], 'type': 'string', 'title': 'Sign Mode', 'default': 'RAW', 'description': 'ML-DSA 签名模式,可选值:RAW(默认,直接签名原文)/ EXTERNAL_MU(先计算 mu 再签名,与 AWS KMS 语义等价)'}, 'context_in_hex': {'type': 'string', 'title': 'Context In Hex', 'default': '', 'description': 'ML-DSA 上下文的十六进制字符串(可选,最大 255 字节)'}, 'message_in_hex': {'type': 'string', 'title': 'Message In Hex', 'default': '', 'description': '消息的十六进制字符串(空字符串表示空消息)'}, 'signature_in_hex': {'type': 'string', 'title': 'Signature In Hex', 'default': '', 'description': '签名的十六进制字符串'}, 'public_key_spki_in_hex': {'type': 'string', 'title': 'Public Key Spki In Hex', 'default': '', 'description': 'ML-DSA 公钥的十六进制字符串(SPKI DER 或裸公钥均可)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'MLKEMDecapRequest', 'properties': {'algorithm': {'enum': ['ML-KEM-512', 'ML-KEM-768', 'ML-KEM-1024'], 'type': 'string', 'title': 'Algorithm', 'default': 'ML-KEM-768', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'ciphertext_in_hex': {'type': 'string', 'title': 'Ciphertext In Hex', 'default': '', 'description': 'ML-KEM 密文的十六进制字符串'}, 'secret_key_in_hex': {'type': 'string', 'title': 'Secret Key In Hex', 'default': '', 'description': 'ML-KEM 私钥的十六进制字符串'}}}
Schéma d’entrée
{'type': 'object', 'title': 'MLKEMEncapRequest', 'properties': {'algorithm': {'enum': ['ML-KEM-512', 'ML-KEM-768', 'ML-KEM-1024'], 'type': 'string', 'title': 'Algorithm', 'default': 'ML-KEM-768', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'public_key_in_hex': {'type': 'string', 'title': 'Public Key In Hex', 'default': '', 'description': '公钥的十六进制字符串(裸密钥或 DER 编码,取决于算法)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'MLKEMKeyGenRequest', 'properties': {'algorithm': {'enum': ['ML-KEM-512', 'ML-KEM-768', 'ML-KEM-1024'], 'type': 'string', 'title': 'Algorithm', 'default': 'ML-KEM-768', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'seed_in_hex': {'type': 'string', 'title': 'Seed In Hex', 'default': '30313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233', 'description': 'ML-KEM 密钥生成种子的十六进制字符串,固定 128 个 hex 字符(64 字节)'}, 'use_random_seed': {'type': 'boolean', 'title': 'Use Random Seed', 'default': False, 'description': 'True 时忽略 seed_in_hex,使用 CSPRNG 随机生成种子'}}}
Schéma d’entrée
{'type': 'object', 'title': 'RSADecryptionRequest', 'properties': {'password': {'type': 'string', 'title': 'Password', 'default': '', 'description': '密码(原始字符串,非编码格式;私钥工具为私钥加密密码,KDF Pbkdf2Sm3 为待拉伸口令)'}, 'rsa_padding_mode': {'enum': ['RSAES_PKCS1_V1_5', 'RSAES_OAEP_SHA_1', 'RSAES_OAEP_SHA_224', 'RSAES_OAEP_SHA_256', 'RSAES_OAEP_SHA_384', 'RSAES_OAEP_SHA_512'], 'type': 'string', 'title': 'Rsa Padding Mode', 'default': '', 'description': 'RSA 加密填充模式,可选值:RSAES_PKCS1_V1_5 / RSAES_OAEP_SHA_1 / RSAES_OAEP_SHA_224 / RSAES_OAEP_SHA_256 / RSAES_OAEP_SHA_384 / RSAES_OAEP_SHA_512'}, 'cipher_data_in_hex': {'type': 'string', 'title': 'Cipher Data In Hex', 'default': '', 'description': '密文的十六进制字符串'}, 'rsa_private_key_in_pem': {'type': 'string', 'title': 'Rsa Private Key In Pem', 'default': '', 'description': 'RSA 私钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'RSAEncryptionRequest', 'properties': {'rsa_padding_mode': {'enum': ['RSAES_PKCS1_V1_5', 'RSAES_OAEP_SHA_1', 'RSAES_OAEP_SHA_224', 'RSAES_OAEP_SHA_256', 'RSAES_OAEP_SHA_384', 'RSAES_OAEP_SHA_512'], 'type': 'string', 'title': 'Rsa Padding Mode', 'default': '', 'description': 'RSA 加密填充模式,可选值:RSAES_PKCS1_V1_5 / RSAES_OAEP_SHA_1 / RSAES_OAEP_SHA_224 / RSAES_OAEP_SHA_256 / RSAES_OAEP_SHA_384 / RSAES_OAEP_SHA_512'}, 'plain_data_in_hex': {'type': 'string', 'title': 'Plain Data In Hex', 'default': '', 'description': '明文的十六进制字符串'}, 'rsa_public_key_in_pem': {'type': 'string', 'title': 'Rsa Public Key In Pem', 'default': '', 'description': 'RSA 公钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'RSASignRequest', 'properties': {'password': {'type': 'string', 'title': 'Password', 'default': '', 'description': '密码(原始字符串,非编码格式;私钥工具为私钥加密密码,KDF Pbkdf2Sm3 为待拉伸口令)'}, 'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'rsa_sign_padding_mode': {'enum': ['RSA_SIGN_PKCS1_V1_5_SHA1', 'RSA_SIGN_PKCS1_V1_5_SHA224', 'RSA_SIGN_PKCS1_V1_5_SHA256', 'RSA_SIGN_PKCS1_V1_5_SHA384', 'RSA_SIGN_PKCS1_V1_5_SHA512', 'RSA_SIGN_PSS_SHA1', 'RSA_SIGN_PSS_SHA224', 'RSA_SIGN_PSS_SHA256', 'RSA_SIGN_PSS_SHA384', 'RSA_SIGN_PSS_SHA512'], 'type': 'string', 'title': 'Rsa Sign Padding Mode', 'default': '', 'description': 'RSA 签名填充模式,可选值:RSA_SIGN_PKCS1_V1_5_SHA1 / SHA224 / SHA256 / SHA384 / SHA512 或 RSA_SIGN_PSS_SHA1 / SHA224 / SHA256 / SHA384 / SHA512'}, 'rsa_private_key_in_pem': {'type': 'string', 'title': 'Rsa Private Key In Pem', 'default': '', 'description': 'RSA 私钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}, 'rsa_sign_raw_data_mode': {'type': 'boolean', 'title': 'Rsa Sign Raw Data Mode', 'default': True, 'description': 'True=对原文签名(服务端内部先哈希),False=data_in_hex 已是哈希摘要的 Hex'}}}
Schéma d’entrée
{'type': 'object', 'title': 'RSAVerifyRequest', 'properties': {'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'signature_in_hex': {'type': 'string', 'title': 'Signature In Hex', 'default': '', 'description': '签名的十六进制字符串'}, 'rsa_public_key_in_pem': {'type': 'string', 'title': 'Rsa Public Key In Pem', 'default': '', 'description': 'RSA 公钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}, 'rsa_sign_padding_mode': {'enum': ['RSA_SIGN_PKCS1_V1_5_SHA1', 'RSA_SIGN_PKCS1_V1_5_SHA224', 'RSA_SIGN_PKCS1_V1_5_SHA256', 'RSA_SIGN_PKCS1_V1_5_SHA384', 'RSA_SIGN_PKCS1_V1_5_SHA512', 'RSA_SIGN_PSS_SHA1', 'RSA_SIGN_PSS_SHA224', 'RSA_SIGN_PSS_SHA256', 'RSA_SIGN_PSS_SHA384', 'RSA_SIGN_PSS_SHA512'], 'type': 'string', 'title': 'Rsa Sign Padding Mode', 'default': '', 'description': 'RSA 签名填充模式,可选值:RSA_SIGN_PKCS1_V1_5_SHA1 / SHA224 / SHA256 / SHA384 / SHA512 或 RSA_SIGN_PSS_SHA1 / SHA224 / SHA256 / SHA384 / SHA512'}, 'rsa_sign_raw_data_mode': {'type': 'boolean', 'title': 'Rsa Sign Raw Data Mode', 'default': True, 'description': 'True=对原文签名(服务端内部先哈希),False=data_in_hex 已是哈希摘要的 Hex'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM2DecryptionRequest', 'properties': {'cipher_format': {'enum': ['C1C3C2_ASN1', 'C1C2C3_ASN1', 'C1C3C2', 'C1C2C3'], 'type': 'string', 'title': 'Cipher Format', 'default': '', 'description': 'SM2 密文编码格式,可选值:C1C3C2_ASN1 / C1C2C3_ASN1 / C1C3C2 / C1C2C3'}, 'cipher_data_in_hex': {'type': 'string', 'title': 'Cipher Data In Hex', 'default': '', 'description': '密文的十六进制字符串'}, 'sm2_private_key_in_pem': {'type': 'string', 'title': 'Sm2 Private Key In Pem', 'default': '', 'description': 'SM2 加密私钥的 PEM 文本(含 BEGIN/END ENCRYPTED PRIVATE KEY 头尾)'}, 'sm2_private_key_password': {'type': 'string', 'title': 'Sm2 Private Key Password', 'default': '', 'description': 'SM2 私钥的加密密码(原始字符串,非编码格式)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM2EncryptionRequest', 'properties': {'plain_data_in_hex': {'type': 'string', 'title': 'Plain Data In Hex', 'default': '', 'description': '明文的十六进制字符串'}, 'sm2_public_key_in_pem': {'type': 'string', 'title': 'Sm2 Public Key In Pem', 'default': '', 'description': 'SM2 公钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM2PrivateKeyStructureParseRequest', 'properties': {'private_key_in_pem': {'type': 'string', 'title': 'Private Key In Pem', 'default': '', 'description': 'SM2 加密私钥的 PEM 文本(含 BEGIN/END ENCRYPTED PRIVATE KEY 头尾)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM2PublicKeyToHexRequest', 'properties': {'public_key_in_pem': {'type': 'string', 'title': 'Public Key In Pem', 'default': '', 'description': 'SM2 公钥的 PEM 文本(含 BEGIN/END PUBLIC KEY 头尾)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM2SignRequest', 'properties': {'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'sign_raw_data_mode': {'type': 'boolean', 'title': 'Sign Raw Data Mode', 'default': True, 'description': 'True=对原文签名(服务端内部先哈希),False=data_in_hex 已是哈希摘要的 Hex'}, 'sm2_private_key_in_pem': {'type': 'string', 'title': 'Sm2 Private Key In Pem', 'default': '', 'description': 'SM2 加密私钥的 PEM 文本(含 BEGIN/END ENCRYPTED PRIVATE KEY 头尾)'}, 'sm2_private_key_password': {'type': 'string', 'title': 'Sm2 Private Key Password', 'default': '', 'description': 'SM2 私钥的加密密码(原始字符串,非编码格式)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM2VerifyRequest', 'properties': {'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'signature_format': {'enum': ['RS_ASN1'], 'type': 'string', 'title': 'Signature Format', 'default': 'RS_ASN1', 'description': 'SM2 签名编码格式,固定值:RS_ASN1(ASN.1 DER 编码)'}, 'signature_in_hex': {'type': 'string', 'title': 'Signature In Hex', 'default': '', 'description': '签名的十六进制字符串'}, 'sign_raw_data_mode': {'type': 'boolean', 'title': 'Sign Raw Data Mode', 'default': True, 'description': 'True=对原文签名(服务端内部先哈希),False=data_in_hex 已是哈希摘要的 Hex'}, 'sm2_public_key_in_pem': {'type': 'string', 'title': 'Sm2 Public Key In Pem', 'default': '', 'description': 'SM2 公钥的 PEM 文本(含 BEGIN/END 头尾的 Base64 编码文本)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM9DecryptionRequest', 'properties': {'identity': {'type': 'string', 'title': 'Identity', 'default': '', 'description': 'SM9 用户标识(原始字符串,如邮箱/账号,1-63 UTF-8 字节;签名/加密/解密均与该标识绑定)'}, 'cipher_data_in_hex': {'type': 'string', 'title': 'Cipher Data In Hex', 'default': '', 'description': '密文的十六进制字符串'}, 'private_key_password': {'type': 'string', 'title': 'Private Key Password', 'default': '', 'description': '私钥的加密密码(原始字符串,非编码格式),可选'}, 'user_private_key_in_pem': {'type': 'string', 'title': 'User Private Key In Pem', 'default': '', 'description': 'SM9 加密用户私钥的 PEM 文本(含 BEGIN ENCRYPTED SM9 ... PRIVATE KEY 头尾,由 SM9ExtractKey 派发)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM9EncryptionRequest', 'properties': {'identity': {'type': 'string', 'title': 'Identity', 'default': '', 'description': 'SM9 用户标识(原始字符串,如邮箱/账号,1-63 UTF-8 字节;签名/加密/解密均与该标识绑定)'}, 'plain_data_in_hex': {'type': 'string', 'title': 'Plain Data In Hex', 'default': '', 'description': '明文的十六进制字符串'}, 'master_public_key_in_pem': {'type': 'string', 'title': 'Master Public Key In Pem', 'default': '', 'description': 'SM9 主公钥的 PEM 文本(明文形态,验签/加密侧使用;Sign/Enc 两类主密钥的公钥标签不同)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM9ExtractKeyRequest', 'properties': {'identity': {'type': 'string', 'title': 'Identity', 'default': '', 'description': 'SM9 用户标识(原始字符串,如邮箱/账号,1-63 UTF-8 字节;签名/加密/解密均与该标识绑定)'}, 'key_kind': {'enum': ['Sign', 'Enc'], 'type': 'string', 'title': 'Key Kind', 'default': 'Enc', 'description': 'SM9 主密钥类型,可选值:Sign(签名主密钥)/ Enc(加密主密钥)'}, 'private_key_password': {'type': 'string', 'title': 'Private Key Password', 'default': '', 'description': '私钥的加密密码(原始字符串,非编码格式),可选'}, 'master_private_key_in_pem': {'type': 'string', 'title': 'Master Private Key In Pem', 'default': '', 'description': 'SM9 加密主私钥的 PEM 文本(含 BEGIN ENCRYPTED SM9 ... MASTER KEY 头尾,KGC 自留)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM9SignRequest', 'properties': {'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'private_key_password': {'type': 'string', 'title': 'Private Key Password', 'default': '', 'description': '私钥的加密密码(原始字符串,非编码格式),可选'}, 'user_private_key_in_pem': {'type': 'string', 'title': 'User Private Key In Pem', 'default': '', 'description': 'SM9 加密用户私钥的 PEM 文本(含 BEGIN ENCRYPTED SM9 ... PRIVATE KEY 头尾,由 SM9ExtractKey 派发)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'SM9VerifyRequest', 'properties': {'identity': {'type': 'string', 'title': 'Identity', 'default': '', 'description': 'SM9 用户标识(原始字符串,如邮箱/账号,1-63 UTF-8 字节;签名/加密/解密均与该标识绑定)'}, 'data_in_hex': {'type': 'string', 'title': 'Data In Hex', 'default': '', 'description': '数据的十六进制字符串。RAW 模式为消息原文 Hex,DIGEST 模式为哈希摘要 Hex'}, 'signature_in_hex': {'type': 'string', 'title': 'Signature In Hex', 'default': '', 'description': '签名的十六进制字符串'}, 'master_public_key_in_pem': {'type': 'string', 'title': 'Master Public Key In Pem', 'default': '', 'description': 'SM9 主公钥的 PEM 文本(明文形态,验签/加密侧使用;Sign/Enc 两类主密钥的公钥标签不同)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'StreamCipherRequest', 'properties': {'algorithm': {'enum': ['AES256GCM', 'ChaCha20Poly1305', 'SM4GCM'], 'type': 'string', 'title': 'Algorithm', 'default': 'AES256GCM', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'key_in_hex': {'type': 'string', 'title': 'Key In Hex', 'default': '', 'description': '密钥的十六进制字符串。长度取决于算法:AES256=64 字符(32B),AES128/SM4=32 字符(16B)'}, 'nonce_in_hex': {'type': 'string', 'title': 'Nonce In Hex', 'default': '', 'description': '随机数的十六进制字符串,固定 24 个 hex 字符(12 字节)'}, 'process_type': {'enum': ['Encrypt', 'Decrypt'], 'type': 'string', 'title': 'Process Type', 'default': 'Encrypt', 'description': '操作类型,可选值:Encrypt / Decrypt'}, 'input_data_in_hex': {'type': 'string', 'title': 'Input Data In Hex', 'default': '', 'description': '输入数据的十六进制字符串(加密时为明文,解密时为密文,1B~16MB)'}, 'associated_data_in_hex': {'type': 'string', 'title': 'Associated Data In Hex', 'default': '', 'description': '附加认证数据的十六进制字符串(参与 MAC 计算但不加密,可选)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'XtsCipherRequest', 'properties': {'algorithm': {'enum': ['AES128XTS', 'AES256XTS'], 'type': 'string', 'title': 'Algorithm', 'default': 'AES256XTS', 'description': '密码算法名称(具体可选值因工具而异,见工具描述)'}, 'key_in_hex': {'type': 'string', 'title': 'Key In Hex', 'default': '', 'description': '密钥的十六进制字符串。长度取决于算法:AES256=64 字符(32B),AES128/SM4=32 字符(16B)'}, 'process_type': {'enum': ['Encrypt', 'Decrypt'], 'type': 'string', 'title': 'Process Type', 'default': 'Encrypt', 'description': '操作类型,可选值:Encrypt / Decrypt'}, 'tweak_in_hex': {'type': 'string', 'title': 'Tweak In Hex', 'default': ''}, 'input_data_in_hex': {'type': 'string', 'title': 'Input Data In Hex', 'default': '', 'description': '输入数据的十六进制字符串(加密时为明文,解密时为密文,1B~16MB)'}}}
Schéma d’entrée
{'type': 'object', 'title': 'ZUCCipherRequest', 'properties': {'iv_in_hex': {'type': 'string', 'title': 'Iv In Hex', 'default': '', 'description': '初始向量的十六进制字符串,固定 32 个 hex 字符(16 字节)'}, 'key_in_hex': {'type': 'string', 'title': 'Key In Hex', 'default': '', 'description': '密钥的十六进制字符串。长度取决于算法:AES256=64 字符(32B),AES128/SM4=32 字符(16B)'}, 'input_data_in_hex': {'type': 'string', 'title': 'Input Data In Hex', 'default': '', 'description': '输入数据的十六进制字符串(加密时为明文,解密时为密文,1B~16MB)'}}}
Modifications récentes des outils
Serveurs MCP similaires
hyperion
Acts as a paid MCP tool marketplace and utility gateway with server discovery, HTTP and JavaScript tools, research, data conversi…
Vee3
Manages Clerk authentication infrastructure, including users, organizations, domains, sessions, tokens, OAuth, SSO, machines, per…
IA-QA — 130+ QA & Dev Tools for AI Agents
Provides deterministic QA, evaluation, testing, code analysis, prompt and RAG checks, model comparison, and web security diagnost…
validoria-mcp
Runs continuous website, API, and webshop tests covering security, SEO, performance, accessibility, browser journeys, and inciden…
HubVibe: Pay-per-Call Tools for AI Agents: Web Search, Email Verify, KYC, Stocks, Crypto, News, Data
Offers paid utilities for web audits, HTTP fetching and extraction, BigQuery analysis, LLM processing, code execution, blockchain…
developer-tools
Provides general-purpose developer utilities for encoding, hashing, encryption, JSON, HTML, CSS, networking, and related data tra…
Qiniso
Provides deterministic formatting, parsing, holiday and tax lookups, address handling, and checksum or structure validation for i…
ContrastAPI
Provides security research and assessment tools covering CVEs, IOCs, dependencies, secrets, injection risks, HTTP headers, domain…