On Wed, Apr 21, 2004 at 09:38:49PM +0400, Alexander Krizhanovskiy wrote:
> Hello!
>
> I'am using RSA_public_encrypt() and RSA_private_decrypt(). I can't encrypt
> data with zero byte (for example hash data). My code like this:
>
>
> unsigned char *buf = "null\x0null";
> .
> RSA_public_encry
Hello!
I'am using RSA_public_encrypt() and RSA_private_decrypt(). I can't encrypt
data with zero byte (for example hash data). My code like this:
unsigned char *buf = "null\x0null";
.
RSA_public_encrypt ( 9, buf, outbuf, rsa, RSA_PKCS1_PADDING);
..
RSA_private_decrypt ( RSA_size(rsa), o