2-amaliy ish Mavzu: Bir qiymatli o’rniga qo’yishga asoslangan shifrlar tahlili Ishdan maqsad


Download 365.32 Kb.
bet2/2
Sana09.11.2021
Hajmi365.32 Kb.
#172582
1   2
Bog'liq
2-amaliy ish

TOPSHIRIQ YECHIMI:

Xabar: ZAFARBEK a=3 b=4 m=26 fo’rmula y=E(x)=(3x+4)mod26


Xabar

Z

A

F

A

R

B

E

K




25

0

5

0

17

1

4

10



Xabar

Z

A

F

A

R

B

E

K

X

25

0

5

0

17

1

4

10

3x+4

79

4

19

4

55

7

16

34

(3x+4)mod26

1

4

19

4

3

7

16

8

Shifr matn

B

E

T

E

D

H

Q

I


Deshifrlash D(y)=1/a(y-b)modm b=4 a=3



Shifr matn

B

E

T

E

D

H

Q

I

Y

1

4

19

4

3

7

16

8

9(y-4)

-27

0

135

0

-9

27

108

36

9(y-4)mod26

25

0

5

0

17

1

4

10

Xabar

Z

A

F

A

R

B

E

K



Download 365.32 Kb.

Do'stlaringiz bilan baham:
1   2




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling