rsaDecrypt
FunctionRSA 私钥解密。
Signature
function rsaDecrypt(ciphertext: string, privateKey: string): stringParameters
| Name | Type | Description |
|---|---|---|
| ciphertext | string | Base64 编码的密文 |
| privateKey | string | PEM 格式的私钥 |
Returns
string
解密后的原始字符串
Source
packages/encryptor/src/RSAHelper.ts:45