crypto_verify_algorithm
Verify a guessed encryption algorithm by computing ciphertext from plaintext and parameters, then comparing with expected ciphertext from intercepted requests.
Instructions
使用本地加密库验证猜测的算法是否正确(输入明文+参数,对比是否能得到相同密文)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"algorithm": "<algorithm>",
"plaintext": "<plaintext>",
"expected": "<expected>"
},
"name": "crypto_verify_algorithm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | Yes | 算法类型 | |
| plaintext | Yes | 明文(如原始密码) | |
| expected | Yes | 期望的密文(从拦截的请求中获取) | |
| key | No | 密钥(对称加密需要) | |
| iv | No | IV向量(CBC模式需要) | |
| encoding | No | 输出编码方式,默认base64 |