Re: A Question of Permutations of Vectors of Bits

From: Mok-Kong Shen (mok-kong.shen_at_t-online.de)
Date: 07/31/03


Date: Thu, 31 Jul 2003 11:15:25 +0200


Simon G Best wrote:
>
> Mok-Kong Shen wrote:
> >
> > In the above, the first example is a 'substitution',
> > while the second is a 'permutation' (which is in fact
> > a special case of 'substitutions'), anyway as far as
> > the common terminology goes. So, if your problem says
> > 'P is a permutation', then one couldn't have the case
> > of the first example.
> >
> > M. K. Shen
>
> When we say, 'A block cipher's encryption function, with a particular
> key, is a permutation,' what do we mean? It's in that sort of sense
> that P is a permutation.

The problem arose with your saying a permutation of bits,
which one would commonly understand to be a shuffling
of bits. A block cipher maps 2^n blocks, each containing
n bits, to 2^n such blocks. That mapping is a permutation
of the elements (each a block) of a sequence of length
2^n to another such sequence (because a block cipher
does a bijecive mapping). So you should say P is
a block encryption function or P is a bijective mapping
of the space of n-bit entities to itself, in order
to avoid confusion. (You see I am not the single person
who got confused).

M. K. Shen



Relevant Pages

  • Re: AES 256 key and anti-key
    ... the same permutation, and there is nothing wrong about that. ... Guaranteeing a surjective mapping from the set ... One doesn't even need to worry about anyting. ... Same with Burrows Wheeler compression systmes it bugged me ...
    (sci.crypt)
  • Re: AES 256 key and anti-key
    ... permutation than X, then the selection is not fully random. ... Even if there are two AES-256 keys mapping to the same permutation, ... the cipher is still practically as strong as before. ... I am not sure if single cycle is best I suspect ...
    (sci.crypt)
  • Re: A beginners question on permutation groups-
    ... For any pair of sets A, B of n elements there exists a bijection, i.e. a one-to-one mapping from the entire set A onto the entire set B. Its inverse is a bijection from B onto A. ... Now about the permutation groups! ... Consider any composition of two permutations P1 and P2 on set A. There are corresponding permutations Q1, Q2 on set B, and the permutation corresponding to the product permutation P1.P2 is the product permutation Q1.Q2. ...
    (sci.math)
  • Re: A Question of Permutations of Vectors of Bits
    ... > In the above, the first example is a 'substitution', ... > the common terminology goes. ... > 'P is a permutation', then one couldn't have the case ... Simon ...
    (sci.crypt)
  • Re: A Question of Permutations of Vectors of Bits
    ... Simon G Best wrote: ... In the above, the first example is a 'substitution', ... the common terminology goes. ... 'P is a permutation', then one couldn't have the case ...
    (sci.crypt)