PDA

View Full Version : Looking for a RSA Class




Arne
Feb 24, 2009, 02:08 PM
Hello,

as the title indicates, I am looking for a Class that does RSA Encryption and Decryption. I want to use it in an Objective-C/Cocoa Program, so it should be written in C. What do you typically use?

Thanks in advance!



MacRumors Guy
Feb 24, 2009, 04:36 PM
libcrypto

It is included in Leopard as a part of OpenSSL.

Howiieque
Feb 25, 2009, 03:12 AM
can you give a little more details, i also want to use it?

MacRumors Guy
Feb 25, 2009, 04:02 AM
Here (http://www.openssl.org/docs/crypto/rsa.html) is the man page for the RSA functions.

You can't get more info for each function from the respective man pages. For example: man RSA_generate_key
An usage example can be found on StackOverflow (http://stackoverflow.com/questions/426463/problem-with-openssl-library).

Arne
Feb 25, 2009, 01:06 PM
ok thank you very much! you helped a lot

xyzeugene
Feb 25, 2009, 01:19 PM
you can also use C language RSA source.

xyzeugene
Feb 25, 2009, 01:21 PM
Ive use this before - this is the way to go unless you want to make it super duper fast.

libcrypto

It is included in Leopard as a part of OpenSSL.