Decrypt error : decryptPublic()
priyankashah2017 opened this issue · 0 comments
priyankashah2017 commented
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');