rzcoder/node-rsa

Decrypt error : decryptPublic()

priyankashah2017 opened this issue · 0 comments

The decrypt function should return an error If the token is not valid or the token is not encrypted by valid key

const decryptData = key.decryptPublic(encrypted, 'utf8');