Bir qiymatli o‘rniga qo‘yishga asoslangan shifrlar tahlili. Bigram akslantirish Affin shifri misolida



Download 365,76 Kb.
Sana03.01.2022
Hajmi365,76 Kb.
#316451
Bog'liq
kriptografiya 2


O‘ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI

MUHAMMAD AL-XORAZMIY NOMIDAGI

TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
Kafedra: Kriptologiya

Fan: Kriptografiya 1


AMALIYOT 2

Bajardi: Ibotov Boymurod



Guruh: 715-19 AXF

Toshkent 2021




2- amaliy ish
Mavzu: Bir qiymatli o‘rniga qo‘yishga asoslangan shifrlar tahlili. Bigram akslantirish Affin shifri misolida.
Ishdan maqsad: Bir va ko‘p qiymatli, o‘rin almashtirish, o‘rniga qo‘yish haqidagi nazariy va amaliy bilim ko‘nikmalarni shakllantirish.



11 - variant
Topshiriqlar
1- masala

Affin shifrlash algoritmini ixtiyoriy dasturlash tillari (Delpi, Java, C++ va C# ) dan foydalangan holda dasturiy ta’minoti yaratilsin.





deshifrlash





Harf

Soni




Harf

Chastotasi

E

21912




E

12.02

T

16587




T

9.10

A

14810




A

8.12

O

14003




O

7.68

I

13318




I

7.31

N

12666




N

6.95

S

11450




S

6.28

R

10977




R

6.02

H

10795




H

5.92

D

7874




D

4.32

L

7253




L

3.98

U

5246




U

2.88

C

4943




C

2.71

M

4761




M

2.61

F

4200




F

2.30

Y

3853




Y

2.11

W

3819




W

2.09

G

3693




G

2.03

B

2715




B

1.49

V

2019




V

1.11

K

1257




K

0.69

X

315




X

0.17

Q

205




Q

0.11

J

188




J

0.10

Z

128




Z

0.07

P

3316




P

1.82


2- masala

Yuqoridagi keltirilgan ma’lumotlar va namuna asosida quyida berilgan shifrmatnlarga mos bo‘lgan ochiq matnlar aniqlansin (toq tartib raqamidagi talabalar 1, juft tartib raqamidagi talabalar 2).







Ochiq matn

Shifr matn

1.




ZQDQMXUR LQWDERN EDUGQ, SCJZ E WDEPQ ERNGJEJQLY ECD, ERN HDUMWZJ OQ JZQ HQQJLQ

TDUO E WLEGG KEGQ CR SZCKZ CJ SEG QRKLUGQN.

CJ SEG E HQEMJCTML GKEDEHEQMG, ERN, EJ JZEJ JCOQ, MRIRUSR JU REJMDELCGJG—UT KUMDGQE WDQEJ XDCBQ CR E GKCQRJCTCK XUCRJ UT PCQS.

JZQDQ SQDQ JSU DUMRN HLEKI GXUJG RQED URQ QVJDQOCJY UT JZQ HEKI, ERN E LURW URQ RQED JZQ UJZQD.

JZQ GKELQG SQDQ QVKQQNCRWLY ZEDN ERN WLUGGY, SCJZ ELL JZQ EXXQEDERKQ UT HMDRCGZQN WULN.

JZQ SQCWZJUT JZQ CRGQKJ SEG PQDY DQOEDIEHLQ, ERN,JEICRW ELL JZCRWG CRJU KURGCNQDEJCUR, CKUMLN ZEDNLY HLEOQ FMXCJQD TUD ZCG UXCRCURDQGXQKJCRW CJ.


Berilgan shifrmatndagi belgilarning takrorlanish darajasi esa quyidagiga teng:




A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

0

1

3

4


31

48

1

2

7


9

5

41

16

21

12

16

6

3

58

35

12

9

30

2

13

9

6

22

Mos harflarning ehtimolliklari katta bo‘lganlari almashtirilgandan so‘ng, keng uchraydigan ikkiliklar (TH, EA, OF, TO, IN, IT, IS, BE, AS, AT, SO, WE, HE, BY, OR, ON, DO, IF, ME, MY, UP), uchliklar (THE, EST, FOR, AND, HIS, ENT ёки THA) va manosidan kelib chiqqan holda so‘zlar almashtirilgandan so‘ng quyidagi ochiq matn olinadi:
HEREUPON LEGRAND AROSE, WITH A GRAVE AND STATELY AIR, AND BROUGHT ME THE BEETLE FROM A GLASS CASE IN WHICH IT WAS ENCLOSED. IT WAS A BEAUTIFUL SCARABAEUS, AND, AT THAT TIME, UNKNOWN TO NATURALISTSOF COURSE A GREAT PRIZE IN A SCIENTIFIC POINT OF VIEW. THERE WERE TWO ROUND BLACK SPOTS NEAR ONE EXTREMITY OF THE BACK, AND A LONG ONE NEAR THE OTHER. THE SCALES WERE EXCEEDINGLY HARD AND GLOSSY, WITH ALL THE APPEARANCE OF BURNISHED GOLD. THE WEIGHT OF THE INSECT WAS VERY REMARKABLE, AND, TAKING ALL THINGS INTO CONSIDERATION, I COULD HARDLY BLAME JUPITER FOR HIS OPINION RESPECTING IT.
Download 365,76 Kb.

Do'stlaringiz bilan baham:




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

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish