It would only be a guess, but perhaps you are not handling the IV correctly, and/or you are not handling the blocksize padding correctly. Maybe you are only properly initializing the first four bytes of an 8 byte key? Maybe .... ==================== Greg Stark [EMAIL PROTECTED] ==================== ----- Original Message ----- From: "Claudia Gaete" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 05, 2001 7:28 AM Subject: NT, and open SSL > we've wrote a program that uses Open SSL (DES), using VC 5 and NT 4, and > we've this problem: > > I encrypt and decrypt data without a problem, but if I use dynamic memory > before calling the encrypt/decrypt functions I get different criptograms. > > Any idea???? Why could dynamic memory allocation be affecting criptographic > algorithms? > > > > Claudia Gaete Iturra > Jefa de Proyectos, Redbanc S.A > > email: [EMAIL PROTECTED] Fono: +56-2-6746700 > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]