crypto_verify_algorithm
Verify a guessed encryption algorithm by computing ciphertext from plaintext and parameters, then comparing with expected ciphertext from intercepted requests.
Instructions
使用本地加密库验证猜测的算法是否正确(输入明文+参数,对比是否能得到相同密文)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | Yes | 算法类型 | |
| plaintext | Yes | 明文(如原始密码) | |
| expected | Yes | 期望的密文(从拦截的请求中获取) | |
| key | No | 密钥(对称加密需要) | |
| iv | No | IV向量(CBC模式需要) | |
| encoding | No | 输出编码方式,默认base64 |