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

Decryption of encrypted data not working #26

Open
mihaipuscasimprezzio opened this issue Jul 27, 2016 · 1 comment
Open

Decryption of encrypted data not working #26

mihaipuscasimprezzio opened this issue Jul 27, 2016 · 1 comment

Comments

@mihaipuscasimprezzio
Copy link

mihaipuscasimprezzio commented Jul 27, 2016

Hi, I have an issue with this RSA implementation and any help would be appreciated.
The first issue is that with rsa keys fetched from server(generated on server side), the RSA encryption fails on: ' if (memcmp(&c_key[idx], seqiod, 15)) return(nil);' but if i use they key from Usage section, i get some encrypted data.

What i am missing here?

@ideawu
Copy link
Owner

ideawu commented Jul 28, 2016

Hi, make sure the rsa key return from server is as this form: https://github.com/ideawu/Objective-C-RSA#usage

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