Topshirdi: zaynobiddinov abdurahim


Download 34.33 Kb.
Sana19.11.2020
Hajmi34.33 Kb.

O‘ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI

MUHAMMAD AL-XORAZMIY NOMIDAGI
TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI


KRIPTOGRAFIYA 1 fanidan

AMALIY ISH 2

TOPSHIRDI: ZAYNOBIDDINOV ABDURAHIM.

TEKSHIRDI: MARDIYEV ULUG`BEK

Toshkent 2020

1-TOPSHIRIQ.

ODDIY O`RIN ALMASHTIRISH USULIDA SHIFRLASH.

K=5x7 T0=ZAYNOBIDDINOVABDURAHIMNIYOZBEKOGLIA


0

1

2

3

4

5

6

7

1

Z

B

N

D

I

O

O

2

A

I

O

U

M

Z

G

3

Y

D

V

R

N

B

L

4

N

D

A

A

I

E

I

5

O

I

B

H

Y

K

A

SHIFRMATN: T1=ZBNDIOO_AIOUMZG_YDVRNBL_NDAAIEI_OIBHYKA;

VA SHU TARTIBGA TESKARI RAVISHDA DESHIFRLASH JADVALI HAM TUZILADI.



0

1

2

3

4

5

6

7

1

Z

B

N

D

I

O

O

2

A

I

O

U

M

Z

G

3

Y

D

V

R

N

B

L

4

N

D

A

A

I

E

I

5

O

I

B

H

Y

K

A

T0=ZAYNOBIDDINOVABDURAHIMNIYOZBEKOGLIA

3-TOPSHIRIQ.

KALIT SO`Z YORDAMIDA O`RIN ALMASHTIRISH SHIFRLASH.

T0=ZAYNOBIDDINOVABDURAHIMNIYOZBEKOGLIA



K=SHAXZOD




1

2

3

4

5

6

7

K

S

H

A

X

Z

O

D

K

5

3

1

6

7

4

2

1

Z

B

N

D

I

O

O

2

A

I

O

U

M

Z

G

3

Y

D

V

R

N

B

L

4

N

D

A

A

I

E

I

5

O

I

B

H

Y

K

A






1

2

3

4

5

6

7

K

A

D

H

O

S

X

Z

K

1

2

3

4

5

6

7

1

N

O

B

O

Z

D

I

2

O

G

I

Z

A

U

M

3

V

L

D

B

Y

R

N

4

A

I

D

E

N

A

I

5

B

A

I

K

O

H

Y

Shifr matn: NOBOZDI_OGIZAUM_VLDBYRN_AIDENAI_BAIKOHY

KALIT SO`Z YORDAMIDA O`RIN ALMASHTIRISH

DESHIFRLASH.

T0=ZAYNOBIDDINOVABDURAHIMNIYOZBEKOGLIA






1

2

3

4

5

6

7

K

A

D

H

O

S

X

Z

K

1

2

3

4

5

6

7

1

N

O

B

O

Z

D

I

2

O

G

I

Z

A

U

M

3

V

L

D

B

Y

R

N

4

A

I

D

E

N

A

I

5

B

A

I

K

O

H

Y

KALIT: SHAXZOD



BERILGAN JADVALDAN KALIT SO`ZNI TIKLASAK BIZNING OCHIQ MATN KELIB CHIQADI.




1

2

3

4

5

6

7

K

S

H

A

X

Z

O

D

K

5

3

1

6

7

4

2

1

Z

B

N

D

I

O

O

2

A

I

O

U

M

Z

G

3

Y

D

V

R

N

B

L

4

N

D

A

A

I

E

I

5

O

I

B

H

Y

K

A

1

Z

B

N

D

I

O

O

2

A

I

O

U

M

Z

G

3

Y

D

V

R

N

B

L

4

N

D

A

A

I

E

I

5

O

I

B

H

Y

K

A

DESHIFRMATN: ZAYNOBIDDINOVABDURAHIMNIYOZBEKOGLIA

4-TOPSHIRIQ.

AFFIN SHIFRI: a=11; b=5; m=26;

OCHIQMATN

Z

A

Y

N

O

B

I

D

D

I

N

O

V

A

B

D

U

R

A




H

I

M

X

25

0

24

13

14

1

8

3

3

8

13

14

21

0

1

3

20

17

0




7

8

12

11x+5

280

5

269

148

159

16

93

38

38

93

148

159

236

5

16

38

225

192

5




82

92

137

(11x+5)mod26

20

5

10

18

3

16

15

12

12

15

18

3

2

5

16

12

17

10

5




4

14

7

SHIFRMATN

U

F

K

S

D

Q

P

M

M

P

S

D

C

F

Q

M

R

K

F




E

O

H

SHIFRMATN:

SHIFRMATN

U

F

K

S

D

Q

P

M

M

P

S

D

C

F

Q

M

R

K

F

F

O

H

Deshifrlash:

Shifrmatn: UFKSDQPMMPSDCFQMRKFFOH



KALIT: a=11; b=5;

mod 26=x; 11x=1 mod 26;

26=11(2)+4; 4=26-11(2);

11=4(2)+3; 3=11-4(2);

4=3(1)+1; 1=4-3(1);

1=4-3(1)=4-(11-4(2))(1)=4(3)-11(1)=(26-11(2))(3)-11(1)=26(3)-11(7)= 26(3)+11(-7);



X=-7;

SHIFRMATN:

U

F

K

S

D

Q

P

M

M

P

S

D

C

F

Q

M

R

K

F

E

O

H

y

20

5

10

18

3

16

15

12

12

15

18

3

2

5

16

12

17

10

5

4

14

7

-7(y-5)

-105

0

-35

-91

14

-77

-70

-102

-102

-70

-91

14

21

0

-77

-102

-84

-35

0

7

-63

-14

-7(y-5)mod26

25

0

24

13

14

1

8

3

3

8

13

14

21

0

1

3

20

17

0

7

8

12

OCHIQ MATN

Z

A

Y

N

O

B

I

D

D

I

N

O

V

A

B

D

U

R

A

H

I

M

Download 34.33 Kb.

Do'stlaringiz bilan baham:




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