Re: RSA and libcrypto
Re: RSA and libcrypto
- Subject: Re: RSA and libcrypto
- From: Charles Srstka <email@hidden>
- Date: Mon, 13 Jan 2014 14:26:07 -0600
On Jan 13, 2014, at 11:11 AM, Jens Alfke <email@hidden> wrote:
>> 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
Really? I'll have to give this a try sometime. If this is the case, someone should probably file a Radar against the documentation, since it specifically states that the security transforms API only supports symmetric encryption and not asymmetric.
> (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.)
Is that true for public keys as well?
Charles
_______________________________________________
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