As far as I know, it does pad one more block on already complete boundaries.
So it is behaving as expected.

Muni



-----Original Message-----
From: Shobhit Kanaujia [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 2:20 PM
To: '[EMAIL PROTECTED]'
Subject: DES



Hello everyone,

I am using the command 
openssl enc -des ...........
for encryption.
I am wondering whether there is any flaw in openssl or in my thinking,
because I gave it exactly 128 bits to encrypt and it gives me 128+64 bits as
the result. I thought that 128 bits should give me 128 bits of encrypted
text.
I was thinking that openssl would pad the input so that it ends on a 64 bit
boundary, and so it should not pad the 128 bit input. But it seems that it
does pad it with 64 bits.

Does anyone know anything about this?
Any suggestions/tips are welcome.

Thanks,
_Shobhit!
______________________________________________________________________
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