[117340] in cryptography@c2.net mail archive
RNG for Padding
daemon@ATHENA.MIT.EDU (COMINT)
Sat Mar 15 16:59:41 2008
Date: Fri, 7 Mar 2008 15:04:49 +0100
From: COMINT <comint@gmail.com>
To: cryptography@metzdowd.com
Hi,
This may be out of the remit of the list, if so a pointer to a more
appropriate forum would be welcome.
In Applied Crypto, the use of padding for CBC encryption is suggested
to be met by ending the data block with a 1 and then all 0s to the end
of the block size.
Is this not introducing a risk as you are essentially introducing a
large amount of guessable plaintext into the ciphertext.
Is it not wiser to use RNG data as the padding, and using some kind of
embedded packet size header to tell the system what is padding?
Thanks for your suggestions,
Mr Pink
---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com