Hi All,
Think that I have to encrypt a certain xml doc with Triple DES alogorithm
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>

Is there a single call that I can get the encrypted data. All I can use is Evp_des_cbc().
Do I have to use this Evp_des_cbc() encryption 3 times?
Thanks,
Kaushalye



Kaushalye Kapuruge wrote:

Hi,
Thanks for the help. This example uses EVP_rc2()
If I need to use a block cipher such as DES, I have to use IV and padding. Can you direct me to such a sample code.?
I dont think this will work If I replace Evp_rc2 with EVP_des_cbc()
-Cheers,
Kau


Marek Marcola wrote:

Hello,
I'd like if somebody can point me out how to use openssl for block cipher encryption.e.g. With few samples.

http://www.openssl.org/docs/crypto/EVP_EncryptInit.html#

Best regards,

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


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

Reply via email to