I tried to decrypt a string encrypted with a publicKey on the server using Node-RSA in my React Native app with the privateKey using the same Node-RSA lib, it takes about 2-3 secs to decrypt a simple object containing only userId and iat.
const privKey = new NodeRSA(dKey);
let base64 = privKey.decrypt(payload, 'utf8');
return jwt_decode(base64);
the second instruction usual takes too long to execute, what could I be missing out.