6 - DeS Algorithm
6 - DeS Algorithm
6 المحاضرة رقم
DES Algorithm
IP = 1100 1100 0000 0000 1100 1100 1111 1111 1111 0000 1010
1010 1111 0000 1010 1010
L0 R0
L1 R1
L = Rn-1
n
Rn = Ln-1 + f (Rn-1 , Kn)
L0 R0
L1 R1
R1 = L0 + f (R0 , K1)
Each of the functions S1, S2,..., S8, takes a 6-bit block as input and
yields a 4-bit block as output بت4 بت وتعطي6 كل من هذه الدوال تأخذ
كمخرجات
Information Systems Security– Queen Arwa University 04/25/2025 17
.Step 2: Encode each 64-bit block of data
والعمود j
وهو رقم من 0الى 15ويمثل
بأربع بتات
هذا الرقم هو مخرج الدالة S
للمدخل B
= )S8(100111
i=11=3
j=0011=3
f = P(S1(B1) S2(B2)...S8(B8))
L0 R0
L1 R1
نحصل على
R16 وL16
النص المشفر
IP-1 النهائي باستخدام الجدول
L0 R0
L1 R1