Hi,
I am using openssl-0.9.6 under NT.
I want to encrypt and decrypt data(such as a string) with des_ecb_encrypt(),but I 
don't know how to convert data format between char* and des_cblock?

here is the synopsis of the function:
        int des_ecb_encrypt(input,output,schedule,encrypt)
        des_cblock *input;
        des_cblock *output;
        des_key_schedule schedule;
        int encrypt;

Could you tell me how to program with des_ecb_encrypt()?
It is better to begin with a simple sample.

Any help appreciated.

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

Reply via email to