27
S
R
L
H
H
H
T
H
S
R
A tomonidan jo’natilgan shifrmatn B tomonda bir xil kalitdan foydalanib
osongina deshifrlanadi:
S
R
L
H
H
H
T
H
S
R
Shifrmatn: 110 101 100 001 110 110 111 001 110 101
Kalit: 111 101 110 101 111 100 000 101 110 000
Ochiq matn: 001 000 010 100 001 010 111 100 000 101
H
E
I
L
H
I
T
L
E
R
Ushbu shifrlash algoritmi uchun quyidagi ikki holatni qarab chiqish muhim:
faraz qilaylik,
A
tomonning dushmani
M
A tomon quyidagi kalitdan foydalangan deb biladi:
101 111 000 101 111 100 000 101 110 000
Agar
M
dushman ushbu kalitni
B
tomonga uzata olsa, u holda
B
tomon
shifrmatnni quyidagicha deshifrlaydi:
S
R
L
H
H
H
T
H
S
R
Shifrmatn: 110 101 100 001 110 110 111 001 110 101
“Kalit”: 101 111 000 101 111 100 000 101 110 000
“Ochiq matn”: 011 010 100 100 001 010 111 100 000 101
K
I
L
L
H
I
T
L
E
R
Agar
Download