* Proxy method for RSAKey object's decrypt, decrypt the string using the private * components of the rsa key object. Note that if the object was not set will be created * on the fly (by the getKey method) using the parameters passed in the JSEncrypt constructor * @param {string} str b
(str: string)
| 86 | * @public |
| 87 | */ |
| 88 | public decrypt(str: string) { |
| 89 | // Return the decrypted string. |
| 90 | try { |
| 91 | return this.getKey().decrypt(b64tohex(str)); |
| 92 | } catch (ex) { |
| 93 | return false; |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Proxy method for RSAKey object's encrypt, encrypt the string using the public |
no test coverage detected