30.01.2014 Views

Cryptanalysis of the RC4 Stream Cipher using Evolutionary ...

Cryptanalysis of the RC4 Stream Cipher using Evolutionary ...

Cryptanalysis of the RC4 Stream Cipher using Evolutionary ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.3.1 Chromosome Representation<br />

Potential solutions can be represented in several ways but <strong>the</strong> most common representation<br />

is through binary strings where each bit represents a characteristic flag. The o<strong>the</strong>r common<br />

representation is through a numerical value as <strong>the</strong> bit string, whe<strong>the</strong>r it is an integer or<br />

real number.<br />

For <strong>the</strong> S register <strong>of</strong> <strong>RC4</strong> each candidate solution will be represented as<br />

2 n sets <strong>of</strong> n-bit binary strings. For example, a candidate solution is represented as C i =<br />

(w 1 , w 2 , . . . , w 2 n) where w i = {0, 1, . . . , 2 n − 1} and each value <strong>of</strong> w i is unique due to its<br />

permutation property. All operations documented are performed on a whole n-bit word w i<br />

or multiple words and never on a subset <strong>of</strong> w i to maintain <strong>the</strong> chromosomes permutation<br />

property.<br />

2.3.2 Selection<br />

Selection is <strong>the</strong> process <strong>of</strong> probabilistically choosing <strong>the</strong> best candidate solutions for <strong>the</strong> next<br />

generation. This is done by evaluating <strong>the</strong> fitness <strong>of</strong> each chromosome in order to assign<br />

a better probability to <strong>the</strong> more fit solutions to enter <strong>the</strong> next generation.<br />

This Thesis<br />

will use two popular methods as a way to contrast <strong>the</strong>ir influence on <strong>the</strong> best particular<br />

approach for a permutation problem. The methods are fitness proportional representation<br />

and tournament selection which will be elaborated in Chapter 4.<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!