26.10.2012 Views

Internet Security - Dang Thanh Binh's Page

Internet Security - Dang Thanh Binh's Page

Internet Security - Dang Thanh Binh's Page

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SYMMETRIC BLOCK CIPHERS 69<br />

The 48-bit round keys from K1 through K16 are computed from the 56-bit key blocks<br />

through a series of permutations and left shifts, as shown below:<br />

Compressed round keys<br />

K1 = 034b8fccfd2e K2 = 6e26890ddd29<br />

K3 = 5b9c0cca7c70 K4 = 48a8dae9cb3c<br />

K5 = 34ec2e915e9a K6 = e22d02dd1235<br />

K7 = 68ae35936aec K8 = c5b41a30bb95<br />

K9 = c043eebe209d K10 = b0d331a373c7<br />

K11 = 851b6336a3a3 K12 = a372d5f60d47<br />

K13 = 1d57c04ea3da K14 = 5251f975f549<br />

K15 = 9dc1456a946a K16 = 9f2d1a5ad5fa<br />

The 64-bit plaintext X splits into two blocks (L0,R0), according to Table 3.4 (IP),<br />

such that<br />

L0 = 4713b8f4<br />

R0 = 5cd9b326<br />

The 32-bit R0 is spread out and scrambled in 48 bits, using Table 3.5, such that E(R0) =<br />

2f96f3da690c.<br />

The 48-bit input to the S-box, Ɣ1, is computed as:<br />

Ɣ1 = E(R0) ⊕ K1<br />

= 2cdd7c169422<br />

The 32-bit output from the S-box is �1 = 28e8293b.<br />

Using Table 3.7, P(�1) becomes<br />

P(�1) = 1a0b2fc4<br />

XORing P(�1) with L0 yields<br />

R1 = P(�1) ⊕ L0<br />

= 5d189730<br />

which is the right-half output after round one.<br />

Since L1 = R0, the left-half output L1 after round one is L1 = 5cd9b326. Thefirst<br />

round of encryption has been completed.<br />

In similar fashion, the 16-round output block (Li,Ri), 2 ≤ i ≤ 16, can be computed<br />

as follows:

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

Saved successfully!

Ooh no, something went wrong!