|
2 -амалий иш модулга (1). 2Амалий иш Мавзу Криптографик имоялаш
Deshifrlash ____ bizga ma’lum kalit so’zning harflari va alifbodagi harflar sonidan kelib chiqan holda jadval yaratamiz va jadvalga ma’lumotlarni quyidagi tartibda kiritamiz:
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
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| U
| V
| W
| X
| Y
| Z
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| U
| V
| W
| X
| Y
| Z
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
| 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
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| Shifr matn ma’lum. ZUYGFOCIYLCFWZB Shifr matn va kalit so’zning mos harflari tutashgan qismidagi jadval ma’lumotlarini yig’ib chiqsak ochiq matn hosil bo’ladi.
M=MAHMUDOVNURULLO
Vernam shifrlash usuli:
Ochiq matn M= MAHMUDOVNURULLO ; Kalit K=NURULLO
Alifbodagi harflarni ikkilik sanoq sistemasida ifodalab olishim kerak. Bunda harflar 26 ta 255 ko’rinishida olsam bo’ladi. 0
| A
| 00000
| 1
| B
| 00001
| 2
| C
| 00010
| 3
| D
| 00011
| 4
| E
| 00100
| 5
| F
| 00101
| 6
| G
| 00110
| 7
| H
| 00111
| 8
| I
| 01000
| 9
| J
| 01001
| 10
| K
| 01010
| 11
| L
| 01011
| 12
| M
| 01100
| 13
| N
| 01101
| 14
| O
| 01110
| 15
| P
| 01111
| 16
| Q
| 10000
| 17
| R
| 10001
| 18
| S
| 10010
| 19
| T
| 10011
| 20
| U
| 10100
| 21
| V
| 10101
| 22
| W
| 10110
| 23
| X
| 10111
| 24
| Y
| 11000
| 25
| Z
| 11001
| 26
| #
| 11010
| 27
| !
| 11011
| 28
| *
| 11100
| 29
| /
| 11101
| 30
| \
| 11110
| 31
| ?
| 11111
| |
|
|