Objective-C-RSA icon indicating copy to clipboard operation
Objective-C-RSA copied to clipboard

Decryption of encrypted data not working

Open mihaipuscasimprezzio opened this issue 9 years ago • 1 comments

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?

mihaipuscasimprezzio avatar Jul 27 '16 14:07 mihaipuscasimprezzio

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

ideawu avatar Jul 28 '16 10:07 ideawu