Hi,
 
Sorry if my question is stupid... :-)
 
I'm trying to use openssl cryptographic functions to cipher data with RSA algorithm, with a keysize of 1024 bits.
 
When my data size is larger thant 1024 bits, the function RSA_public_encrypt sends back an RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE error message.
 
To my understanding, RSA should be able to cipher data larger than keysize, but the error message seems to say the opposite.
 
Am i missing something ?
 
Thanks,
Mathieu DONZEL.


Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail

Avec Yahoo! faites un don et soutenez le Téléthon !

Reply via email to