Open Gokulkannan08 opened 2 years ago
Using Private key i have tried to decrypt but it returns empty string. Provided Private key is correct. Code: var decrypt = new JSEncrypt(); decrypt.setPrivateKey(privateKey); var decryption = decrypt.decrypt(encrypted);
Returns: decryption: ''
encrypted value is an object
Using Private key i have tried to decrypt but it returns empty string. Provided Private key is correct. Code: var decrypt = new JSEncrypt(); decrypt.setPrivateKey(privateKey); var decryption = decrypt.decrypt(encrypted);
Returns: decryption: ''