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0D
|
FA
|
DF
|
7E
|
24
|
3B
|
AB
|
Idoralar
|
11
|
8F
|
4E
|
B7
|
EB
|
D
|
3C
|
81
|
94
|
F7
|
9B
|
13
|
2C
|
D3
|
E7
|
6E
|
C4
|
03
|
56
|
44
|
7E
|
A9
|
E
|
2A
|
BB
|
C1
|
53
|
DC
|
0B
|
9D
|
6C
|
31
|
74
|
F6
|
46
|
AC
|
89
|
14
|
E1
|
F
|
16
|
3A
|
69
|
09
|
70
|
B6
|
C0
|
ED
|
CC
|
42
|
98
|
A4
|
28
|
5C
|
F8
|
86
|
4 ) maydoni yordamida algebraik tarzda hisoblash mumkin. 12.17-rasmda ko'rsatilganidek, qaytarilmas ko'phadlar ( x 4 + x + 1) bilan. Har bir hexadeci- mal raqam ichida a bayt hisoblanadi kiritish uchun a miniboks (E va E - 1 ). natijalar bor oziqlangan ichiga boshqa minibox, R. E qutilari kirish o'n oltilik sonining eksponensialini hisoblaydi; R qutisi foydalanadi psevdor tasodifiy raqamlar generatori.
E(input) = (x3 + x + 1)input mod (x4 + x + 1) if input ≠ 0xF
E(0xF) = 0
E − 1 quti hisoblanadi shunchaki teskari ning E quti qayerda rollar ning kiritish va chiqish bor o'zgardi. Kirish/chiqish uchun qiymatlar qutilar ham jadvalga kiritilgan 12.17-rasm.
Rasm 12.17 Subbaytlar ichida Whirlpool shifr
a 1 a 2 a 3 a 4
b 1 b 2 b 3 b 4
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
A
|
B
|
C
|
D
|
E
|
F
|
|
1
|
B
|
9
|
C
|
D
|
6
|
F
|
3
|
E
|
8
|
7
|
4
|
A
|
2
|
5
|
0
|
Kiritish Chiqish
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
A
|
B
|
C
|
D
|
E
|
F
|
|
F
|
0
|
D
|
7
|
B
|
E
|
5
|
A
|
9
|
2
|
C
|
1
|
3
|
4
|
8
|
6
|
Kiritish Chiqish
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
A
|
B
|
C
|
D
|
E
|
F
|
|
7
|
C
|
B
|
D
|
E
|
4
|
9
|
F
|
6
|
3
|
8
|
A
|
2
|
5
|
1
|
0
|
Kiritish Chiqish
c 1 c 2 c 3 c 4
d 1 d 2 d 3 d 4
E qutisi E − 1 hmfhjquti R qutisi
Shift ustunlari O'zgartirishni ta'minlash uchun Whirlpool ShiftColumns transformatsiyasidan foydalanadi. tion, bu AES-dagi ShiftRows transformatsiyasiga o'xshaydi, ustunlar bundan mustasno o'rniga qatorlar siljiydi. O'zgartirish ustunning joylashishiga bog'liq. 0-ustun ketadi orqali 0 bayt siljish (yo'q siljish), esa ustun 7 ketadi orqali 7 bayt siljish. Rasm 12.18 ko'rsatadi siljish transformatsiya.
Dostları ilə paylaş: |