Oh it shows the encryption of 12 byte plaintext. As I said it has to be padded to the blocksize unless you use a streamcipher. That's all they state.
Andy Lewis wrote: > > Oh, well, got it, thanks. > > http://www.codeproject.com/KB/security/BlockCiphers.aspx I was asking > > this, because this page`s table "Plain Text versus Cipher Text Sizes" > > confused me. Thanks again :) > > > > On 5 авг, 12:38, "Elias Önal" <[email protected]> wrote: > > > >> >> The famous Huffman encryption usually produces smaller, but sometimes >> >> bigger ciphertexts. But common algorithms like Triple-ROT13 should keep >> >> the same size! :P >> >> >> >> Seriously, smaller isn't possible since you'd lose data (Usually you >> >> can't compress entropy) - And bigger... no one would want to use that >> >> since we have better alternatives which don't bloat the ciphertext. In >> >> some cases you have to add padding till a multiple of the blocksize, but >> >> since it is added to the plaintext they still remain the same size. >> >> Asymmetric encryption often adds heaps of bloat but that's a different >> >> story. >> >> >> >> >> >> >> >> Andy Lewis wrote: >> >> >> >>> >>> Hello, >>> >>> >>> >>> I`d like to know, after encrypting PlainText in any of BlockCipher/in >>> >>> any of mode, are CipherText and PlainText always same length? Or are >>> >>> there some modes or ciphers, which produce CipherText, that is longer/ >>> >>> shorter that PlainText? >>> >>> >>> > > > > > -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com.
