Hi,
I'm fairly new to OpenSSL. How do I convert the rsa generated by
rsa_keygen_ex() into a public and private key?
Is there a way to do that?
-Original Message-
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org]
On Behalf Of Ruden Estolonio
Sent: Tuesday, Ap
ntf(
"Badness has occured! encryption failed\n");
RSA_free(rsa);
}
else
{
printf(
"Encrypted the message OK! \n");
//memcpy(encrypted,encpin,1500);
sprintf(encpin,
"%s",encrypted);
fprintf(test,
"%s",encpin);
printf(
"The buffersize is : [%d]\n ===
Hi,
I need help on how to do RSA encryption using Openssl in C language. Is there a
code snippet on how to do this?
Also, how do I extract or get the key from RSA_generate_key_ex()? Is the key
generated from this function a private/public key
Thanks,
Adrian