Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to remove the padded characters in the decrypted string #164

Open
manuks opened this issue Nov 29, 2017 · 0 comments
Open

to remove the padded characters in the decrypted string #164

manuks opened this issue Nov 29, 2017 · 0 comments

Comments

@manuks
Copy link

manuks commented Nov 29, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant