Objective-C-RSA
Objective-C-RSA copied to clipboard
Decryption of encrypted data not working
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?
Hi, make sure the rsa key return from server is as this form: https://github.com/ideawu/Objective-C-RSA#usage