note, also see http://stackoverflow.com/questions/2012645/can-you-help-me-get-my-head-around-openssl-public-key-encryption-with-rsa-h-in-c
Cheers, Ben. On 20 January 2010 16:22, Anand Patel <anand.apa...@gmail.com> wrote: > For RSA API take a look at http://openssl.org/docs/crypto/rsa.html# > -Anand > > > On Wed, Jan 20, 2010 at 11:18 AM, Anand Patel <anand.apa...@gmail.com>wrote: > >> EVP is oneway of implementing your solution. Look at Example section of >> http://openssl.org/docs/crypto/EVP_EncryptInit.html# >> >> -Anand >> >> >> On Wed, Jan 20, 2010 at 10:14 AM, Alexey Luchko <l...@ank-sia.com> wrote: >> >>> Hi! >>> >>> I'm new to openssl. >>> >>> I need to encrypt and decrypt approx 1k block of data with rsa. >>> What is recommended api for the case? >>> >>> I've found RSA_public_encrypt() and RSA_private_decrypt(). >>> It looks like a kind of low level api. >>> But here I've got a problem with OAEP padding. >>> >>> Another one is EVP_PKEY_encrypt() and EVP_PKEY_decrypt(). >>> It is of a higher level. >>> It encodes and decodes correctly only one block for me, >>> but looks like it could operate on block of any size. >>> And I've not found any use cases with google code search. >>> >>> It looks like I missed smth ;) >>> Any advice is very welcome! >>> >>> >>> -- >>> Thanks in advance, >>> Alexey >>> >>> sms stands for save my soul >>> ______________________________________________________________________ >>> OpenSSL Project http://www.openssl.org >>> User Support Mailing List openssl-users@openssl.org >>> Automated List Manager majord...@openssl.org >>> >> >> > -- Ben H D Jones www.bhjones.com