Re: openssl decrypting unknown whether DES or AES encrypted

2009-08-04 Thread Mike Trent
rning for storage. On later examination of an encrypted string if a MOD 16 on the string length yields a 1 then I know I have the new encrypted string, and just need to drop off the last byte and decrypt via AES. Otherwise I have DES. -- View this message in context: http://www.nabble.com/openssl-dec

Re: openssl decrypting unknown whether DES or AES encrypted

2009-08-04 Thread Dr. Stephen Henson
On Mon, Aug 03, 2009, canroc wrote: > > Moving from DES to AES encryption and all new encryption will be AES. However > some existing strings were encrypted in DES. Is there a way to determine if > a string is encrypted in DES or AES? Will the decrypt AES fail on a DES > encrypted string always

Re: RE: openssl decrypting unknown whether DES or AES encrypted

2009-08-04 Thread carlyoung
> >On Tue 4/08/09 10:19 AM , "Tom Horstmann" t...@utome.de sent: >> Is there a way to determine if >> a string is encrypted in DES or AES? > >No > >> Will the decrypt AES fail on a DES >> encrypted string always or will openssl return a good return but with >> garbage as the decrypted string? > >Th

RE: openssl decrypting unknown whether DES or AES encrypted

2009-08-04 Thread Tom Horstmann
wner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of canroc Sent: Tuesday, August 04, 2009 4:39 AM To: openssl-users@openssl.org Subject: openssl decrypting unknown whether DES or AES encrypted Moving from DES to AES encryption and all new encryption will be AES. However some e

openssl decrypting unknown whether DES or AES encrypted

2009-08-04 Thread canroc
garbage as the decrypted string? -- View this message in context: http://www.nabble.com/openssl-decrypting-unknown-whether-DES-or-AES-encrypted-tp24801444p24801444.html Sent from the OpenSSL - User mailing list archive at Nabble.com