18.11.2013 Views

Kryptologie - aneb sifry vcera, dnes a zitra - Petr Hanuš

Kryptologie - aneb sifry vcera, dnes a zitra - Petr Hanuš

Kryptologie - aneb sifry vcera, dnes a zitra - Petr Hanuš

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

DES – šifrování V<br />

Posledním krokem funkce f je transponování výstupu z S-boxů<br />

f = P(S 1 (B 1 )S 2 (B 2 ) . . . S 8 (B 8 )) podle následující tabulky:<br />

16 7 20 21<br />

29 12 28 17<br />

1 15 23 26<br />

5 18 31 10<br />

2 8 24 14<br />

32 27 3 9<br />

19 13 30 6<br />

22 11 4 25<br />

f = 0010 0011 0100 1010 1010 1001 1011 1011<br />

R 1 = L 0 ⊕ f (R 0 , K 1 ) =<br />

= 1100 1100 0000 0000 1100 1100 1111 1111<br />

⊕ 0010 0011 0100 1010 1010 1001 1011 1011<br />

= 1110 1111 0100 1010 0110 0101 0100 0100<br />

Píta (Brkos 2009) <strong>Kryptologie</strong> 30.8. – 5.9.2009 46 / 64

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

Saved successfully!

Ooh no, something went wrong!