Introduction to Information Security



Download 1,39 Mb.
bet12/44
Sana01.04.2022
Hajmi1,39 Mb.
#522548
1   ...   8   9   10   11   12   13   14   15   ...   44
Bog'liq
CSS

RSA Key Setup

  • Each user generates a public/private key pair by
    • select two large primes at random: p, q
    • compute their system modulus n=p·q
      • note ø(n)=(p-1)(q-1)
    • select at random the encryption key e
      • where 1
    • solve following equation to find decryption key d
      • e·d=1 mod ø(n) and 0≤d≤n
    • publish their public encryption key: KU= {e,n}
    • keep secret private decryption key: KR= {d,n}

RSA Usage

  • To encrypt a message M:
    • sender obtains public key of receiver KU={e,n}
    • computes: C=Me mod n, where 0≤M
  • To decrypt the ciphertext C:
    • receiver uses its private key KR={d,n}
    • computes: M=Cd mod n
  • Message M must be smaller than the modulus n (cut into blocks if needed)

RSA Example: Computing Keys

  • Select primes: p=17, q=11
  • Compute n=pq=17×11=187
  • Compute ø(n)=(p1)(q-1)=16×10=160
  • Select e: gcd(e,160)=1 and e<160
    • choose e=7
  • Determine d: de=1 mod 160 and d<160
    • d=23 since 23×7=161=10×160+1
  • Publish public key KU={7,187}
  • Keep secret private key KR={23,187}

RSA Example: Encryption and Decryption

  • Given message M = 88 (88<187)
  • Encryption KU={7,187} :
  • C = 887 mod 187 = 11

  • Decryption KR={23,187} :
  • M = 1123 mod 187 = 88

Computer Systems Security


Key establishment, management, and certification
What is Key Management?

Key Management
With the rise of Cybercrime, companies are investing significant amounts
in Information Security in order to protect themselves, their employees and
Download 1,39 Mb.

Do'stlaringiz bilan baham:
1   ...   8   9   10   11   12   13   14   15   ...   44




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