The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 3 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
In a public key system using RSA you intercept the ciphertext C=4 sent to a user whose public key is e = 7, n = 33. What is the plaintext M?
M = ________________
Fermat's Theorem:Â Â a p-1 = 1 mod p
Euler's Theorem:Â Â a = 1 mod n
Modular arithmetic: (a*b) mod n = (a mod n * b mod n) mod n
                               (a+b) mod n = (a mod n + b mod n) mod n
RSA Algorithm (public key cryptography)
select prime numbers p,q
calculate n = p*q
calculate ?(n) = (p-1)(q-1)
select integer e relatively prime to ?(n)
find integer d which has the property e*d mod ?(n) = 1
create public key = KU = [e,n]
create private key = KR = [d,n]
ciphertext C = Pe mod n  Â
plaintext  P = Cd mod n Â
500
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll