aesDecrypt
FunctionAES-CBC 解密(Pkcs7 填充)。
Signature
function aesDecrypt(ciphertext: string, options: AESKeyOptions): stringParameters
| Name | Type | Description |
|---|---|---|
| ciphertext | string | Base64 编码的密文 |
| options | AESKeyOptions | 十六进制编码的密钥与初始向量 |
Returns
string
解密后的原始字符串
Source
packages/encryptor/src/AESHelper.ts:75