3 ms·
Real cyphertext should have less Shannon entropy/higher compressability than random data, I think, unless a one-time pad was used. However, it's fully possible
by derefr 18y ago
Real cyphertext should have less Shannon entropy/higher compressability than random data, I think, unless a one-time pad was used. However, it's fully possible to create semi-random cyphertext to a set entropy, which means all your encrypted transmissions could just be filled with "sparse" or "dense" extra data to balance them out with your chosen "inconspicuous" entropy value.
Then again, I seem to recall that the cyphertext is compressed before encryption in PGP/GPG, likely in order to obviate exactly this problem. Then you would indeed just have to add white noise to the messages until their post-compression, pre-encryption filesizes match, as hopefully the encryption layer won't allow the compression ratio information to leak through.