712-19-guruh talabasi Baxodirov Doston
Vernam shifrlash algortimi orqali
Ochiq matn => Doston Kalit => Baxodi
D=00011
|
D+B
|
O+A
|
S+X
|
T+O
|
O+D
|
N+I
|
|
00011
|
01110
|
10010
|
10011
|
01110
|
01101
|
|
00001
|
00000
|
10111
|
01110
|
00011
|
01000
|
|
00010
|
01110
|
01101
|
11101
|
01101
|
00111
|
SHIFR MATN c= CON`NH
kalitni RSA algoritmi orqali shifrlaymiz
p=11 q=19
N=11*19=209
F(N)=10*18=180
E=3 ekub(e,f(N))=1
E*d=1modF(n) => 3*d=1mod180 => d=107
Shifrlaymiz kalit BAXODIROV
Kalit soz => BAXODIROV
B=2 C1=143mod299=53
A=1 C2=13mod299=1
X=24 C3=243mod299=70
O=15 C4=153mod299=86
D=4 C5=43mod299=64
I=9 C6=93mod299=131
R=18 C7=183mod299=151
O=15 C8=153mod299=86
V=22 C8=223mod299=183
53.1.70.86.64.131.151.86.183 kalit shifrlandi
SHIFR MATN c= CON`NH
Do'stlaringiz bilan baham: |