Re: A variation of RC4
From: Mok-Kong Shen (mok-kong.shen_at_t-online.de)
Date: 07/09/04
- Next message: Peter Fairbrother: "Re: NTRU"
- Previous message: Mok-Kong Shen: "Re: A variation of RC4"
- In reply to: Bill Unruh: "Re: A variation of RC4"
- Next in thread: Guy Macon: "Re: A variation of RC4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 09 Jul 2004 18:42:03 +0200
Bill Unruh wrote:
> Mok-Kong Shen <mok-kong.shen@t-online.de> writes:
>
> ]Addendum:
>
> ]RC's swapping of elements of an S-box to render it variable
> ]dynamically could be considered to be in a sense in the same
> ]vein as swapping of regions of elements of the array that is
> ]done in Schneier's Solitaire, which results in correspondingly
> ]larger changes of the S-box. With the counters i and j of
> ]the original RC4, one has three regions as follow:
>
> ] 1 2 3
> ] ---------------------------
> ] i j
>
> ](In this constellation one counts S_i to region 2 and S_j
> ]to region 3. In case i=j, we increase j by 1.) One could
> ]then, similarly to Solitaire, swap region 1 with region 3.
> ]Since it seems to be advantageous operationally to have
> ]spaces of two arrays to facilitate copying and alternatingly
> ]use one of them as the current S-box, one could also easily
> ]reverse the order of the elements in the regions thereby,
> ]if desired.
>
>
> The advantage of RC4 is its speed. Slowing it down by a factor ot 100 does
> not seem a great advantage.Also, in general regions 1 and 3 are of
> different size.
One should better consider my description as indicating a
'general' possibility of dynamically modifying a given S-box
(which is not necessarily one for RC4), though the idea came
to me in the context of RC4. Thus constraint of speed may
(or may not) dictate whether it be employed in any given
situation. On the other hand, that larger modification step
could also be introduced only after every m original RC4
steps (for some chosen number m), thus correspondingly
reducing the speed impact. That regions 1 and 3 are of
different size is true in the general case. This is also
the case for Solitaire and should impose no problem, the
consequence being only that the region 2 gets shifted in
position.
M. K. Shen
- Next message: Peter Fairbrother: "Re: NTRU"
- Previous message: Mok-Kong Shen: "Re: A variation of RC4"
- In reply to: Bill Unruh: "Re: A variation of RC4"
- Next in thread: Guy Macon: "Re: A variation of RC4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|