I am working on a simple app in objective-C that uses RSA Algorithm. I want to use it on Server/Client Communications. I need help in RSA Algorithm Implementation in iOS/iPhone.
- I have knowledge of encryption and decryption.
- I want an opensource library or code to add into my project.
- I have to go though
CommonCryptor.h.
I have tried RSA Encryption and Decryption for NSString. Here is the code:
Add Security.Framework to your project bundle.
ViewController.h code is as follows:
ViewController.m file code is as follows:
Here is where I originally posted my answer : Iphone – How to encrypt NSData with public key and decrypt with private key?
Let me know if you need more help.
Hope this helps.