Re: migrating from bsafe to openSSL

2009-04-01 Thread m r
Thanks for your help. I appreciate the prompt response. On Wed, Apr 1, 2009 at 3:27 PM, Dr. Stephen Henson wrote: > On Wed, Apr 01, 2009, m r wrote: > > > I'm looking to migrate AES encryption code from BSAFE to openSSL. As a > test, > > I encrypted a string using BS

Re: migrating from bsafe to openSSL

2009-04-01 Thread Kyle Hamilton
or else the block cannot be encrypted. -Kyle H On Apr 1, 2009, at 3:37 AM, m r wrote: I'm looking to migrate AES encryption code from BSAFE to openSSL. As a test, I encrypted a string using BSAFE AES & tried to decrypt using AES of openSSL. The openSSL manages to decrypt, but it adds som

Re: migrating from bsafe to openSSL

2009-04-01 Thread Dr. Stephen Henson
On Wed, Apr 01, 2009, m r wrote: > I'm looking to migrate AES encryption code from BSAFE to openSSL. As a test, > I encrypted a string using BSAFE AES & tried to decrypt using AES of > openSSL. The openSSL manages to decrypt, but it adds some junk (mostly > unprintable charac

migrating from bsafe to openSSL

2009-04-01 Thread m r
I'm looking to migrate AES encryption code from BSAFE to openSSL. As a test, I encrypted a string using BSAFE AES & tried to decrypt using AES of openSSL. The openSSL manages to decrypt, but it adds some junk (mostly unprintable characters) in the end. For example, if my input is

RE: From BSAFE to Openssl

2003-06-20 Thread Lu, Steve
decrypting (B   (B regards, (B wjw (B (B- Original Message - (BFrom: (BLu, Steve (B (BTo: '[EMAIL PROTECTED]' (B (BSent: Friday, June 20, 2003 4:01 (BAM (BSubject: RE: From BSAFE to Openssl (B (B (BHi, (B 

Re: From BSAFE to Openssl

2003-06-19 Thread Wu Junwei
nt: Friday, June 20, 2003 4:01 (B AM (B Subject: RE: From BSAFE to Openssl (B (B (B Hi, (B   (B The (B padding idea does not seem to work. (B I (B run clear text of multiple of 8 bytes thru both algorithms (B and (B they came out differently. (B   (B BSAFE must

RE: From BSAFE to Openssl

2003-06-19 Thread Lu, Steve
problem. (B   (B wjw (B (B- Original Message - (BFrom: (BLu, Steve (B (BTo: '[EMAIL PROTECTED]' (B (BCc: '[EMAIL PROTECTED]' (BSent: Thursday, June 19, 2003 3:39 (B AM (B Subject: From BSAFE to Openssl (B (BHi

Re: From BSAFE to Openssl

2003-06-18 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Wed, 18 Jun 2003 14:39:43 -0400, "Lu, Steve" <[EMAIL PROTECTED]> said: SLu> Hi, SLu> SLu> I try to migrate my app from BSAFE to Openssl. SLu> But found RC2 to be incompatible in the following sense: SLu> SLu> I create

From BSAFE to Openssl

2003-06-18 Thread Lu, Steve
Hi, I try to migrate my app from BSAFE to Openssl. But found RC2 to be incompatible in the following sense: I created two encryptString functions, one using BSAFE Crypto-C and the other using Openssl EVP_Cipher routines. I pass them both the same passphrase and salt. I set the effective key