I don't like to send my questions to [EMAIL PROTECTED] as this doesn't 
look like a bug.  But my mail doesn't seem like getting through with 
user and dev emails...
==============================

Hi,
 
I am developing a cipher encryption tool in c++ using your openssl-
crypto library.
 
The result encrypted string is passed to another system for decryption 
and vice versa, in which the cipher encryption tool was developed in 
Java, cipher algorithm is DES, mode is CBC, PKCS 5 padding.
 
I tried both functions DES_ncbc_encrypt() and DES_cbc_encrypt() in lib 
crypto/des for encryption, the result string can't be decrypted by the 
Java version cipher tool, it doesn't work the other way around neither. 
I got around the padding by adding padding with each value equal to the 
number of paddings, but the result strings just look totally different 
before encryption.  Am I using the wrong functions? Which function 
provides the same algorithm/mode as the one we used in our Java version.
 
Please help!! Thanks.
 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to