Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RSA encryption library or Classes

I want to implement RSA encrytion/decryption in my App.I googled around the net to find any Library or Classes which perform the RSA encryption/decryption algorithm,but was not able to find any suitable link.I know i can use the SecKeyGeneratePair provided by Apple to generate the private public key pair.But it is a necessity for me to use the RSA algorithm as i want to implement it over client-server network.So the Algorithm needs to common amongst the parties.

Please provide some valuable info.

Thanks

Aditya

like image 312
Aditya Avatar asked Nov 18 '25 09:11

Aditya


1 Answers

Isn't that what SecKeyEncrypt and SecKeyDecrypt functions do?

The functions SecKeyEncrypt and SecKeyDecrypt uses the RSA keys you got from SecKeyGeneratePair.

like image 82
Hoylen Avatar answered Nov 19 '25 23:11

Hoylen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!