Re: XORShift PRNG as a diffusion structure
From: Tom St Denis (tomstdenis_at_yahoo.com)
Date: 03/23/04
- Next message: Paul Pires: "Re: Sandbox and CDX-2"
- Previous message: Gregory G Rose: "Re: Unpredictible bits in alloc functions"
- In reply to: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Next in thread: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Reply: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Reply: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 22 Mar 2004 16:04:58 -0800
Mok-Kong Shen <mok-kong.shen@t-online.de> wrote in message news:<c3n3r6$ln3$01$1@news.t-online.com>...
> Tom St Denis wrote:
> > Mok-Kong Shen <mok-kong.shen@t-online.de> wrote:
>
> >>I believe there is a misunderstanding between us. What I
> >>meant is: If one has, say, somewhere in a block encryption
> >>algorithm a statement x^=(x << c), then knowing c and the
> >>new x doesn't permit one to recover the old x. This is
> >>clear in the special case where c=0 (the new x is then
> >>always identical to 0).
> >
> >
> > Actually quite the opposite. Provided c is not congruent to zero the
> > statement is fully bijective. The only time it is not is when c == 0
> > which is not a case that proves the rule.
> >
> > Consider the case of say c == 1 that's
> >
> > x ^= x << 1;
> >
> > To undo this you simply xor the LSB against the 2nd bit, then the 2nd
> > against the 3rd, then the 3rd against the fourth, etc...
>
> O.k. So you have to exclude that case in your codes and
> to stepwise recover x.
I don't know what this means. All values of "c" will lead to a
"step-wise" recovery of x.
> On the other hand, is that sort of
> device that fine for achieving diffusion as compared to
> employing S-boxes and linear transformation as e.g. done
> in AES anyways? Thanks.
They're sub-optimal in most respects. For example, in a 16-byte block
cipher the CSQUARE transform [which is very hardware efficient]
achieves 48 active 8x8 sboxes per four rounds. If you configure that
as a 4x32 bitsliced cipher the best 32x32 high weight transform [made
from four consecutive shifts/xors operations] has a branch of seven.
Over four rounds that is 14 active 4x4 sboxes.
so even though the bitsliced approach would be more efficient per
round the fact that you need more rounds [and achieve a slower rate of
confusion] makes the approach less desireable.
Tom
- Next message: Paul Pires: "Re: Sandbox and CDX-2"
- Previous message: Gregory G Rose: "Re: Unpredictible bits in alloc functions"
- In reply to: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Next in thread: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Reply: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Reply: Mok-Kong Shen: "Re: XORShift PRNG as a diffusion structure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|