Hi,
I need to write an xml security library to encrypt and decrypt xml documents. For that I need to use openssl as the crypto library and do not have a clear idea how to use it for block ciphers(e.g. DES). Later I have to support signing as well. Can somebody direct me to few openssl samples ? I googled a bit but couldn't find specific samples for block ciphers. :(
Also I have following questions
1. Is it possible to just pass the cipher name , IV, key , intext to a openssl function and get the output ? OR do we have to use chaining depending on the size of the intext? Are their ant other factors that someone has to use EVP_CipherUpdate multiple times?

2. Do I need to prepare the intext before the transformation?

Thanks,
Kaushalye

PS: I've noticed that xmlsec is such a library which is using openssl. But according to my requirements its much better to have my own one.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to