Mustaqil ish uchun misollar.
n=989, C={ 400, 805, 955, 239 }, M=?
n=989, C={ 307, 831, 133, 384 }, M=?
n=989, C={ 269, 150, 668, 9 }, M=?
n=989, C={ 668, 384, 984, 269 }, M=?
n=989, C={ 680, 302, 400, 269 }, M=?
n=989, C={ 400, 269, 680, 302 }, M=?
n=989, C={ 627, 307, 790, 384 }, M=?
n=989, C={ 790, 307, 984, 269 }, M=?
n=989, C={ 831, 384, 307, 150 }, M=?
n=989, C={ 944, 307, 790, 133 }, M=?
n=989, C={ 96, 307, 955, 133 }, M=?
n=989, C={ 955, 307, 790, 133 }, M=?
n=989, C={ 302, 805, 944, 269 }, M=?
n=989, C={ 96, 307, 831, 944 }, M=?
n=989, C={ 668, 307, 821, 269 }, M=?
n=989, C={ 831, 384, 984, 269 }, M=?
n=989, C={ 133, 384, 790, 805 }, M=?
n=989, C={ 955, 239, 805, 790 }, M=?
n=989, C={ 955, 269, 668, 307 }, M=?
n=989, C={ 680, 307, 831, 269 }, M=?
n=989, C={ 269, 831, 384, 9 }, M=?
n=989, C={ 473, 269, 831, 384 }, M=?
n=437, C={ 119, 232, 308, 115, 95, 85, 187, 87}, M=?
n=437, C={ 282, 232, 142, 115, 150, 423, 323, 150, 232, 87, 150}, M=?
n=437, C={ 334, 187, 323, 85, 302, 302, 95, 85, 187, 87}, M=?
n=437, C={ 282, 232, 121, 150, 254, 85, 177, 301}, M=?
n=437, C={ 254, 150, 302, 150, 346, 150, 377, 85, 82, 150}, M=?
n=437, C={ 334, 328, 100, 353, 346, 391, 301, 386}, M=?
n=437, C={ 119, 346, 323, 302, 292, 302, 346, 254, 150, 302}, M=?
n=437, C={ 282, 323, 100, 301, 346, 391, 115, 187}, M=?
n=437, C={ 140, 100, 301, 386, 85, 177, 115, 248, 150}, M=?
n=437, C={ 64, 232, 427, 334, 187, 323, 150, 150, 301}, M=?
N=989, C={307,785,311}; N=209, C={130,4,163,157,80,4,163, 199,38}; N=473, C={170,232}, M=?
N=209, C={36,169,4,169}; N=253, C={110,48,133,93,133}; N=817, C={815,404}, M=?
N=473, C={102,23,56,422}; N=253, C={9,69}; N=817, C={427, 662,384,397,741}, M=?
N=209, C={133,199,58}; N=473, C={441,275,203,268,312, 268,454}; N=817, C={139,422,226}, M=?
N=253, C={55,48,93,69,81}; N=817, C={226,66,662,422}; N=473, C={170,232}. M=?
N=817, C={140,404};N=253, C={110,146,26,48,209}; N=209, C={158,157,187,187,169,38}, M=?
N=817, C={723,741,617,178,397,752,741,66}; N=253, C={210, 146,177,209}. M=?
N=473, C={99,268,275,471,146,97,422}; N=817, C={681,66, 741,384,66}, M=?
IV. El-Gamal shifrlash algoritmi
Bu sxema 1984 yilda misrlik olim Taher El Gamal tomonidan taklif etilgan. El-Gamal algoritmi shifrlash va raqamli imzo qo’yishda foydalaniladi. Algoritm xavfsizligi chekli maydonda diskret logarifmlarni hisoblash qiyinligiga asoslangan. El-Gamal sxemasi AQSh(DSA) va Rossiya (GOSTR34.10-94) elektron raqamli imzo standartlari asosini tashkil etadi.
Shifrlash.
p – katta tub son tanlanadi.
Foydalanuvchilar guruhi uchun umumiy g < p tanlanadi.
x < p-1 yopiq kalit tanlanadi.
M < p qilib bloklarga ajratiladi.
y = g x mod p hisoblanadi.
Tasodifiy sessiys kaliti 1< k < p-1 soni tanlanadi.
a = g k mod p hisoblanadi.
b = (y k *M) mod p hisoblanadi. a va b juftlik shifr tekst deyiladi.
Dostları ilə paylaş: |