Open manuks opened 7 years ago
While using RSA_NO_PADDING the decrypt function returns a string with padded value. Is it good to replace the padding as below. decriptedValue.replace(/\0/g, '') Could you please remove the padded characters in the decrypt function response?
decriptedValue.replace(/\0/g, '')
While using RSA_NO_PADDING the decrypt function returns a string with padded value. Is it good to replace the padding as below.
decriptedValue.replace(/\0/g, '')
Could you please remove the padded characters in the decrypt function response?