Re: Compression and crypto

David A. Scott wrote:
It would be very hard to
if not impossible to check all keys and see how many make a nice jpeg.

Why? I can't imagine what reason you might have in mind.

Because of the computational cost of exhaustively examining all
keys? But you already said you want informatin-theoretic security
(security against adversaries who can perform an unlimited amount
of computation), so that can't be it.

Because of the difficulty of recognizing a valid JPEG? But that's
not very hard. If you think recognizing valid JPEGs (as opposed to
random white noise) is infeasible, then you have underestimated the
advances in vision and graphics. It's certainly not a good foundation
to rest the security of your scheme on. So that can't be it, either.

So if it's not one of those reasons, what reason do you have for
stating that it is "very hard if not impossible" to check all keys?

It sounds to me like tomstdenis is correct. I have yet to see any
valid counterargument that I could understand.

P.S. I don't need to look at the code of BICOM to know that there are
some things that no bijective compression algorithm can achieve.

Let me attempt to clarify it. I original stated with by bijective
programs and BICOM I could take a one byte output file and get more
than one possible valid english text message that compress and encrypt
to it. Dave is that wrong is this is one of Tommy's many times makeing his

I don't understand what you are trying to say, so I don't know how to
answer. I do understand Tom's claims and they look accurate to me.

I then went on to state why that even if I don't use my routines
but only Matt's BICOM that the one byte would map into many millions
of possible files depending on the key and that it was trival to
produce more than 256 such files.

That might depend on whether encryption is length-preserving or not.
If encryption is length-preserving and the ciphertext is only one
byte long, I guess there are only 256 possible plaintexts (and the
number of possible keys seems irrelevant), unless I'm missing something.

Relevant Pages

  • Re: Composing large block cipher from smaller ones
    ... And the reason people don't do recursive ciphers is that they're ... all different keys in the different rounds, ... then using an already existing block cipher ...
  • Re: Car stolen? Youre on the hook for the damage the thief does.
    ... wouldn't leave a car with the keys in the ignition. ... For at least the first 25 years of my life, reasonable people left keys ... vehicles with the keys in the ignition during the lunch hour. ... My contention is that cars are equipped with keys for the same reason homes ...
  • Re: HP 48GX ON key problem
    ... The reason would be in yur case that the main board is not making ... I tried your suggestion of pressing ... above the B and C keys and using the on/off button. ... but maybe its better than opening ...
  • Re: Composing large block cipher from smaller ones
    ... 56 bits is AFAIK it's greatest weakness and the reason for AES. ... rounds (the different component DESs have different keys, ... cipher of block length much bigger than 128 bits. ... though I don't have the expertise to design good ciphers at all. ...
  • Re: Copy vs Move
    ... I find no way, even with a combination of keys, ... my camera's default format is jpeg. ... Now I have 2 or more layers. ... combinations, dragging the layer icon, nothing allow me to drag this ...