{"_id":"@polyv/request-plugin-aes-decrypt","_rev":"32-b26c0aab471b77170c45e00470501b03","name":"@polyv/request-plugin-aes-decrypt","dist-tags":{"latest":"2.8.1","v2-latest":"2.8.1","temp":"2.8.1"},"versions":{"2.0.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.0.0","_id":"@polyv/request-plugin-aes-decrypt@2.0.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"4f911b275b1b420c3a8b943a7dcb6aac9e67622b","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.0.0.tgz","fileCount":12,"integrity":"sha512-dL7mMIGZW5O2IYFlUEwveRmp9en++faST0iEghekCdAxK1SjAkxQXU2BBBSlFoGQNBHJzl8Yyi4dwGZMZQLnfA==","signatures":[{"sig":"MEUCIQCsbI6EBg3x4IL/0/7cMEDyNd45Uowm4oQLg5jk1A4sUwIgCQf8gf5r7f98/LgZhD8DzhrHPvAmt6yZ5ux4OHwRa4Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","actor":{"name":"easefun-ci","type":"user","email":"polyv@163.com"},"email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.0.0_1751449731700_0.022097182807246485","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.1.0","_id":"@polyv/request-plugin-aes-decrypt@2.1.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"2a8677023ffb09b97e2af43dc6aa06161c9f722f","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.1.0.tgz","fileCount":12,"integrity":"sha512-pcFTYVwrcHpIInMQ7SgyMwSziguiR2olrrBeyA46YmB7j7vxOZ/7gmt3svRl8QlboR2YCc1a3CFI6bauDjtz1Q==","signatures":[{"sig":"MEUCIQD8T2EJNpsMLU+HzmPd5FMcoajwhLhqU2+ILFJF3lYgkQIgM53BFnGv3z1ua1oqXgbjXjk/hpgV9ZwOY+ElR/cixHc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.1.0_1755136229967_0.35767685151072315","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.2.0","_id":"@polyv/request-plugin-aes-decrypt@2.2.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"9ef882fea62fee96a5ee950fe6bb4d7d74b067bc","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.2.0.tgz","fileCount":12,"integrity":"sha512-XTQ+3By2aTWybaA7PVfybRWrkdrsLP38mLsm/KKz8KFvgEZp/VMy6xH1aqn5ntLPy1w4r4+0UAWk05209DE+Xg==","signatures":[{"sig":"MEUCIQCTyY9Z7uWnzXtleypyDjL2gDfptGk6IompiA7EKlpbOgIgHqnFj+qgx72Tfca0wTkLZp7H5S2LBODbJTRrWBE0x7o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.2.0_1756948054974_0.8030283983497435","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.3.0","_id":"@polyv/request-plugin-aes-decrypt@2.3.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"61f23e6e65f9a7be480756dbb3b8c5476827a3ab","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.3.0.tgz","fileCount":12,"integrity":"sha512-fzTyJ8jtru4msxPxjmXCJZs1GglsNENBkQeJxkV2HdT7exVctkpy5wEfbSoAesv0qPh+cyFBeDB/OgHZRyBjjw==","signatures":[{"sig":"MEUCIQC8FmYTKT+7vqn9yUAyx9VVm6Ea5MrBitn0iohdolMNAwIgSY6m0LEHR/RBOj/0LxH3WKKuFxb0N7ClqMvlOO8MwZ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.3.0_1761040174053_0.40759837894983497","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.4.0","_id":"@polyv/request-plugin-aes-decrypt@2.4.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"28db6a1d583d07f5f29686265aceb733d59ef4d8","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.4.0.tgz","fileCount":12,"integrity":"sha512-xE76Ie2O2/HND1Vxs/L7sYuaTqSFgJyL68NcCDkbVGXt56IMWXZ61k3X1icJQIGTKPAeVno2fbwF0QrU6+NL9Q==","signatures":[{"sig":"MEYCIQC7Ye1nZ5GntkGYrl9xYHwcdJU904klIYjwFkbnjw94cgIhAOJ308KscHhGMujW87hivOzQqE31BMuLQ3OZ9icJscSu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.4.0_1773197371120_0.0931464061597822","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.5.0","_id":"@polyv/request-plugin-aes-decrypt@2.5.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"20ecb7ea5d4d36b734c98fe5879f538dbc6384be","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.5.0.tgz","fileCount":12,"integrity":"sha512-MBRorDvCNqAYXsHrvZ1eDOOl/UBEMGPm6U3uJmEt760aYaMTZurMpxP2nwI0wCMQEXMIg3SAGmsBh1ghu6ouRw==","signatures":[{"sig":"MEYCIQDd2Xh3gTykhKBPadc/CM6byzyMfUkBa1dHomMcLEWRzgIhAKmeklphoRwN9YzfPbE6PaPU7qbAtzOEP5iuSKWDG2EK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.5.0_1778721444506_0.4877341474827215","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.6.0","_id":"@polyv/request-plugin-aes-decrypt@2.6.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"e456a02d42bc6110d1c5fe39d9560f2eeffc18b5","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.6.0.tgz","fileCount":12,"integrity":"sha512-iKQe6U8qTuh+PNGXcuM5d6LK2To/mFEhNwXm+ku0GE7GHPIC2dReob3kYlyWhN8n90viC1W0N4Vt4wqs5uU2pQ==","signatures":[{"sig":"MEUCIC9hCu4eR9u3x9JzeqATv+0sgjvf7GNYl/0WLqI57goLAiEAsqsholJvfZU5JoBzpedffZ1X5+ATsvOsBOlF1+2zT/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.6.0_1780554113299_0.8920902405194615","host":"s3://npm-registry-packages-npm-production"}},"2.7.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.7.0","_id":"@polyv/request-plugin-aes-decrypt@2.7.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"4e002434588f18909ff8e85d7daf8b0d3dc0ae2b","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.7.0.tgz","fileCount":12,"integrity":"sha512-21EAQBGBAP2h7kxd32pA9L8AO031FDoOxLUAcVc5HeTnRy9iRNEQX4/OzleyCkA1Anj/Hfk1eUquglzRzu26/A==","signatures":[{"sig":"MEUCID20jhId7alZ39fyZmbIf7XXaoLsUMwicBFTIA9Mz5pNAiEAqKqh/v9GSPDy0QNwcp8nmVYbBl8Bomw4ehfNF6Vkiuc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.7.0_1780997154367_0.6401357297631269","host":"s3://npm-registry-packages-npm-production"}},"2.7.1":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.7.1","_id":"@polyv/request-plugin-aes-decrypt@2.7.1","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"1c4d55bdd1a0ebe0d2668b4e34650e2507cd0287","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.7.1.tgz","fileCount":12,"integrity":"sha512-upm8SpjbhTe0nFwT4bSOUCaPoxUS1x78wPA8zN9jwJHu12vfHd+eBMw9VrHPocMxQk0vTKlS+8hPCkhpzg2UtQ==","signatures":[{"sig":"MEUCIQDzyVLVGHXTGse68jXT8WffGCRvYCJexxos9Nab8S2dFwIgYVoDDvUoIGD5d0oWdZxgisevV0mSBEhZyFdR6TqY5bA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12079},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.7.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.7.1_1781000652126_0.11370188397498615","host":"s3://npm-registry-packages-npm-production"}},"2.8.0":{"name":"@polyv/request-plugin-aes-decrypt","version":"2.8.0","_id":"@polyv/request-plugin-aes-decrypt@2.8.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"4731ce5cc808d7d3158a49d0ef612dbb4be79f5c","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.8.0.tgz","fileCount":12,"integrity":"sha512-w+RKPneAhX8qlYKY0dk1SxVMxVB/8MVmrx0TiEHClxNpwjvEgjIhktcZ1jGbYDp4l5waXdHqVyZVrzO8Cod5Pg==","signatures":[{"sig":"MEYCIQDs68F1koAlbNumSGVdlndakwKnaeQ0t4pHQF6NhXq4fAIhANScNtp8Un//NGI2MKhHXcsx9K1GhqoYhrxxxir8NZ55","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12679},"main":"./index.js","type":"module","types":"./index.d.ts","gitHead":"13b8b598b2d8ecb151f2f6c7cf4ecab6671c1965","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"10.8.2","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"miniprogram":"./","_nodeVersion":"20.20.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.8.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes-decrypt_2.8.0_1783071932179_0.42703831993366026","host":"s3://npm-registry-packages-npm-production"}},"2.8.1":{"_id":"@polyv/request-plugin-aes-decrypt@2.8.1","dist":{"shasum":"4eedf7ef3c55031c1df697df763fe459494e5af0","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes-decrypt/-/request-plugin-aes-decrypt-2.8.1.tgz","fileCount":12,"integrity":"sha512-2T9l/atQ5YWc4vqo9stEUfyKEywbotA+yPgMyUd+qB6mvZGV8VQzWCntsftMzfoO4+jKNPjnYu8BZx6EwaKrcw==","signatures":[{"sig":"MEUCIQCrUjlZGZ4tcQhY7iDpRuxCti6N+nqdKT2iYE5meyPTFAIgc0LGKTSDrXjpcs+dIuLfLKtdGQm+2jm0s/gQTw46FcE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCBtd0JtA4jEeNhF0LmccW9aqeVq24ErQrARd6KrG2hJwIgMEUQm3jIIe2LTI4fOdep3R8B4IKooY/dFioOE0R4644="}],"unpackedSize":12679},"main":"./index.js","name":"@polyv/request-plugin-aes-decrypt","type":"module","types":"./index.d.ts","gitHead":"7d3597a4b7101140a3061be5129d97ede5f055d4","version":"2.8.1","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"10.8.2","description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","directories":{},"maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"miniprogram":"./","_nodeVersion":"20.20.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.8.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/request-plugin-aes-decrypt_2.8.1_1789716975173_0.034362886581815966"}}},"time":{"created":"2025-07-02T09:48:51.584Z","modified":"2026-09-18T07:36:15.432Z","2.0.0":"2025-07-02T09:48:51.909Z","2.1.0":"2025-08-14T01:50:30.159Z","2.2.0":"2025-09-04T01:07:35.179Z","2.3.0":"2025-10-21T09:49:34.229Z","2.4.0":"2026-03-11T02:49:31.274Z","2.5.0":"2026-05-14T01:17:24.779Z","2.6.0":"2026-06-04T06:21:53.445Z","2.7.0":"2026-06-09T09:25:54.492Z","2.7.1":"2026-06-09T10:24:12.289Z","2.8.0":"2026-07-03T09:45:32.318Z","2.8.1":"2026-09-18T07:36:15.251Z"},"description":"用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"readme":"# AESDecryptRequestPlugin\n\n用途：AES 解密插件，用于对服务端返回的加密数据进行解密处理。\n\n## 实例化参数\n\n| 参数名            | 用途               | 类型                 | 默认值                            |\n| ----------------- | ------------------ | -------------------- | --------------------------------- |\n| `decryptKeys`     | 解密密钥信息       | `AESKeyInfo`         | -                                 |\n| `decryptPosition` | 解密位置           | `AESDecryptPosition` | `AESDecryptPosition.ResponseData` |\n| `getDecryptInfo`  | 获取解密信息的方法 | `function`           | -                                 |\n\n## 请求选项\n\n| 参数名           | 用途              | 类型             | 默认值  |\n| ---------------- | ----------------- | ---------------- | ------- |\n| `useAESDecrypt`  | 是否使用 AES 解密 | `boolean`        | `false` |\n| `aesDecryptInfo` | AES 解密信息      | `AESDecryptInfo` | -       |\n\n## 解密密钥信息类型\n\n`AESKeyInfo` 类型如下：\n\n| 参数名 | 用途             | 类型     | 默认值 |\n| ------ | ---------------- | -------- | ------ |\n| `sign` | 解密签名（密钥） | `string` | -      |\n| `iv`   | 解密偏移量       | `string` | -      |\n\n## 解密位置枚举\n\n`AESDecryptPosition` 枚举如下：\n\n| 枚举值                             | 描述                     |\n| ---------------------------------- | ------------------------ |\n| `AESDecryptPosition.WholeResponse` | 解密整个响应数据         |\n| `AESDecryptPosition.ResponseData`  | 仅解密响应中的 data 字段 |\n\n## 使用方式\n\n```js\nimport { PolyvRequest } from '@polyv/request-core';\nimport { AESDecryptRequestPlugin, AESDecryptPosition } from '@polyv/request-plugin-aes-decrypt';\n\n// 基础用法：使用固定的解密密钥\nconst requester = new PolyvRequest({\n  requestPlugins: [\n    new AESDecryptRequestPlugin({\n      decryptKeys: {\n        sign: 'yourDecryptKey',\n        iv: 'yourDecryptIV',\n      },\n    }),\n  ],\n});\n\n// 配置解密位置\nconst requester = new PolyvRequest({\n  requestPlugins: [\n    new AESDecryptRequestPlugin({\n      decryptKeys: {\n        sign: 'yourDecryptKey',\n        iv: 'yourDecryptIV',\n      },\n      decryptPosition: AESDecryptPosition.WholeResponse,\n    }),\n  ],\n});\n\n// 使用 getDecryptInfo 方法动态获取解密信息\nconst requester = new PolyvRequest({\n  requestPlugins: [\n    new AESDecryptRequestPlugin({\n      getDecryptInfo: async options => {\n        // 可以根据 options 中的信息动态获取解密密钥\n        return {\n          decryptKeys: {\n            sign: 'dynamicDecryptKey',\n            iv: 'dynamicDecryptIV',\n          },\n          decryptPosition: AESDecryptPosition.ResponseData,\n        };\n      },\n    }),\n  ],\n});\n\n// 在某个请求中启用 AES 解密\nrequester.get(\n  '/api/data',\n  {},\n  {\n    useAESDecrypt: true,\n  },\n);\n\n// 在某个请求中使用特定的解密信息\nrequester.get(\n  '/api/data',\n  {},\n  {\n    useAESDecrypt: true,\n    aesDecryptInfo: {\n      decryptKeys: {\n        sign: 'specificKey',\n        iv: 'specificIV',\n      },\n      decryptPosition: AESDecryptPosition.WholeResponse,\n    },\n  },\n);\n```\n\n## 解密处理逻辑\n\n1. 插件默认不启用，需要在请求选项中设置 `useAESDecrypt: true` 或全局配置启用\n2. 解密信息的优先级为：请求选项中的 `aesDecryptInfo` > `getDecryptInfo` 方法返回的信息 > 初始化时提供的配置\n3. 根据 `decryptPosition` 的设置，可以选择解密整个响应数据或只解密响应中的 data 字段\n4. 解密后，如果解密结果是有效的 JSON 字符串，会自动解析为 JavaScript 对象\n","readmeFilename":"README.md"}