rsaDecrypt()
function rsaDecrypt(cipherText, privateKeyPem): Promise<string>;
Defined in: crypto/rsaDecrypt.ts:25
RSA 解密
Parameters
| Parameter | Type | Description |
|---|---|---|
cipherText | string | Base64 编码密文 |
privateKeyPem | string | PEM 格式私钥 |
Returns
Promise<string>
解密后的明文