Jan Andres <J...@nAndr.es> wrote:
>Now, what if we were to replace block ciphers by "pseudo-block" ciphers
>that drop the requirement of being reversible and merely had the
>property that the ciphertext be a cryptographical hash of the
>(key, plaintext) tuple? Would we lose any security by applying this
>relaxation?
If "cryptographical hash" has its obvious meaning, then no. Let me
explain the technicalities.
A block ciphers is technically called a Pseudo-random permutation
(PRP), a family of permutations on some set along with evaluation
algorithms. There is an alternative notion called a Pseudo-random function
(PRF), a family of functions from one set to another where there need be
no inverse functions, along with an evaluation algorithm. (Presumably,
this is what you meant by "cryptographical hash".)
A PRP (or PRF) is secure if a random permutation (function) from the
family is hard to distinguish from a random permutation on the set
(random function from one set to another).
When you _only_ consider one direction of the PRP, it can be shown
that a secure PRP and a secure PRF are indistinguishable, that is,
one can be replaced by another without anyone noticing (use the PRP/PRF
switching lemma).
As you correctly observe, the PRP used many block cipher modes can be
replaced by a PRF without breaking anything functionally. And by the
PRP/PRF switching lemma, the security proof for the case of a PRP should
go through for the case of a PRF.
--
kg