Encrypted string still a string?

2005-04-01 Thread Jules Colding
Hi all, Excuse me for asking such trivial questions, but I am new to cryptography. Anyway, will a string still be a string if I encrypt it with an RSA public key? I mean, will null or other non-printable characters be present within the encrypted result or will the result be entirely printable AS

Re: Newbie question (with answer - long)

2005-03-31 Thread Jules Colding
On Fri, 2005-04-01 at 07:31 +0530, Denis wrote: > Don't you need to allocate some memory to be able to store the RSA key > in r_rsa? I assumed that would happen automatically due to the 'pointer-to- pointer' parameter. Best regards, jules BTW: Doing the following solved my problem: RSA *re

Newbie question

2005-03-31 Thread Jules Colding
Hi, I am trying to create RSA public and private keys on Windows with OpenSSL 0.9.7e. I want to save both to disk for later use, but I can't figure out how to read them again... I am doing the following: CUT rsa = RSA_generate_key(RSA_KEY_LENGTH, RSA_F4, NULL, (char *