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

Pass the padding option. #10

Open
Sachin678 opened this issue Oct 16, 2017 · 1 comment
Open

Pass the padding option. #10

Sachin678 opened this issue Oct 16, 2017 · 1 comment

Comments

@Sachin678
Copy link

I am encrypting a key on frontend using a public key and passing it to node.js server where node is decrypting it using RSA algorithm with PADDING 4. So when I pass my encypted key node server consider it as invalid key because it is not encrypted with padding.

Please let me know how can we do this using react-native-rsa module.

@z-hao-wang
Copy link
Owner

z-hao-wang commented Oct 16, 2017 via email

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

2 participants