I don't know what that command is outputting, but typically the output of
OpenSSL commands is an ASN.1 structure which may, for example, contain the
algorithm identifier, identifying which algorithm was used for encryption.
The increased size could also be a padding factor, for example padding out
to the nearest 8-byte boundary.

Steven

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jukka Alve
Sent: Monday, 15 April 2002 9:13 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Growing file size with des-ecb encryption


Hi All,

I am not sure if this question made it to the list last time I sent it.
Apologies if this is a duplicate.

I am wondering why the file size grows by 8 bytes when doing

openssl des-ecb -nosalt -in infile -out outfile -K $Key -iv 0 -p

What is in those 8 extra bytes? Is this a bug or a feature?

Best regards,

Jukka Alve


______________________________________________________________________
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]

Reply via email to