Hello:
I want to cypher/decrypt messages with RSA.
I use this functions to cypher and decypher:
int CifradoClavePublica(RSA *claveRSA, char *texto, char **textocifrado)
{
int size = RSA_size(claveRSA);
int blksize = size - 12;
int length = strlen(texto);
int blocks = length/blksize;
int
What are you trying to do?
(give some details if you want any help)
Using RSA directly on the message is almost never a good idea.
(Correct me if I'm wrong but that's what you seem to be doing)
You should be using an intermediate symmetric cipher or just let openssl
or gnupg do its job and forget
think that it is a correct use of the RSA cypher/decypher method,
isn´t you?.
Regards.
- Original Message -
From: Eduardo Pérez [EMAIL PROTECTED]
To: openssl-users@openssl.org
Sent: Monday, May 16, 2005 10:40 AM
Subject: Re: Problem at RSA decrypt: block type is not 02
What are you