Hello list,

I'm having trouble with the openssl enc feature. This here:

echo -n '0123456789abcde' | openssl enc -aes128 -nosalt -K 
00112233445566778899aabbccddeeff -iv 00000000000000000000000000000000 | wc -c

(encoding 15 characters) results in one result block being generated: The 
command results in 16 (exactly one block). However, when encrypting a full 
block:

echo -n '0123456789abcdef' | openssl enc -aes128 -nosalt -K 
00112233445566778899aabbccddeeff -iv 00000000000000000000000000000000 | wc -c

Then two result blocks are generated (the result is 32). Why is this? A full 16 
byte block should IMHO always translate to a 16 byte block in AES-128.

What's wrong here?

Regards,
Joe
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to