Node forge very bad performance in RSA decrypt

400 Views Asked by At
// Decrypt using RSA
const privateKey = Forge.pki.privateKeyFromPem("Key.......");

const decryptedKey = privateKey.decrypt(convertedKey);
const decryptedIv = privateKey.decrypt(convertedIv);

I use node forge to decrypt key and iv of AES. I notice that the performance are very bad.

Each decryption is completed in about 400 ms AVG.

Is it possible to increase performance or i need to change library?

0

There are 0 best solutions below