Valery wrote:

> I make a program that encrypts a text string using EVP_Encrypt... functions.
> 
> The encrypted data is in binary format i.e is in non ASCII
> 
> My question is if there is a way to convert the encrypted data into ASCII
> string using OpenSSL library and back (the converted data) into the
> encrypted binary format.
> 
> Is there an example of this?


Tons. Typically people use base64 armor for ASCII. OpenSSL does that,
for example, with the PEM certificate format.

-Gunther

-- 
Gunther Schadow, M.D., Ph.D.                    [EMAIL PROTECTED]
Medical Information Scientist      Regenstrief Institute for Health Care
Adjunct Assistant Professor        Indiana University School of Medicine
tel:1(317)630-7960                         http://aurora.regenstrief.org


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to