Professional Documents
Culture Documents
Assignment 3
Assignment 3
Öğr. No : o90020021064
ASSIGNMENT 3
3.4.
64 bit’lik girdi bitleri (x0) 1’e set edildiği için L0=111…1(32bit) ve R0=11…1(32bit)
dir. K1=1111…1(48bit) anahtarı da 1’e set edilmiştir.
f-fonksiyonu:
S1(1) = 14 = 1110
S2(0) = 15 = 1111
S3(0) = 10 = 1010
S4(0) = 7 = 0111
S5(0) = 2 = 0010
S6(0) = 12 = 1100
S7(0) = 4 = 0100
S8(0) = 13 = 1101
f(R0, K1) = 1101 1000 1101 1000 1101 1011 1011 1100
1111 1111 1111 1111 1111 1111 1111 1111 1101 1000 1101 1000 1101 1011 1011 1100
3.6.
1. Key generation da PC-1 de parity bit olmadığı için Key 10000..(56bit)’e dönüşür.
1. Round S4 9. Round S4
3. Round S1 11 Round S4
6. Round S1 14 Round S3
7. Round S4 15 Round S2
8. Round S2 16 Round S1
2. Decyrption’da;
1. Round S1 9. Round S2
3. Round S3 11 Round S1
6. Round S4 14 Round S1
8. Round S4 16 Round S4
3.12.