Re: RSA and libcrypto
Re: RSA and libcrypto
- Subject: Re: RSA and libcrypto
- From: Jens Alfke <email@hidden>
- Date: Mon, 13 Jan 2014 09:11:04 -0800
On Jan 12, 2014, at 2:11 PM, Charles Srstka <email@hidden> wrote:
> On Jan 12, 2014, at 4:00 PM, email@hidden wrote:
>
>> I am trying to wean my app off libcypto via security.framework and common crypto.
>>
>> My last dependency is on RSA.
>> Is there an alternative non openssl api or will I have to pursue linking a static instance of libcypto?
>
> AFAIK, there is not. You will have to statically link lib crypto.
No, you can use SecKeyEncrypt / SecKeyDecrypt with RSA keys. You just have to have the keys stored in the Keychain (which is the right thing to do for private keys regardless. I think of private keys as being like nuclear fuel rods: you should never leave them out in the open.)
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden