perating Systems and Networks cs159342

Question 1 Break Monoalphabetic Substitution Ciphers (2 marks).

zbty cu wsibjsw jb zbgujnmzjcge q gmnjmncge sgicnbgtsgj qgw znsqjcge sozsvvsgj vsqngcge soysncsgzsu xbn ujmwsgju cguycncge jdst jb mgvsqud jdscn ybjsgjcqvu cgjb aszbtcge xmjmns’u cggbiqjbnu cj wsvcisnu dced hmqvcjl nsusqnzd ybujenqwmqjs ynbenqttsu jqmedj tqujsn ynbenqttsu qgw mgwsnenqwmqjs ynbenqttsu cg zbtymjsn uzcsgzs qgw tmvjc wcuzcyvcgqnl qnsqu bx cj qgw sgjsnyncus zbtymjcge cju ynbenqttsu cgjsenqjs jdsbncsu ulujstu qgw qyyvczqjcbgu tssjcge jds gsswu bx ujmwsgju kdb kcud jb ymnums jdscn zqnssn cg zbtymjcge nsvqjsw jszdgbvbel

iuww520iuww520iuww520iuww520iuww520iuww520iuww520iuww520iuww520

1.What is the original message?

Use online tools to help: Frequency Analysis - 101 Computing

2. Write down the detailed steps and attach the screenshot (if you use the frequency analysis tool).

Question 2 RSA Encryption and Signature Scheme (2 marks).

Alice tries to establish her own RSA public key and private key. She chooses two prime numbers p = 13 and q = 5 and sets n = pq = 65.

  1. If Alice chooses her public exponent e=11, what is her private exponent d? what is her RSA public key?
  2. Encrypt a message M = [the eighth digit of your student id], e.g. for 12345678d, encrypt M=8, using Alice’s public key.
  3. Sign a message M = [the eighth digit of your student id], e.g. for 12345678d, sign M=8, using Alice’s key. (Plain RSA signature without hashing the message)

Use online tools to help

Inverse Modular Calculator: Online calculator: Modular Multiplicative Inverse Calculator 

Modular Exponentiation Calculator : Online calculator: Modular exponentiation 

Question 3 Confidentiality and Integrity (1 marks)

We learnt in the lecture that encryption and message authentication code can be used to provide confidentiality and integrity respectively. Let

 be a file, be two secret keys, which of the following method is better to if we wish to ensure both confidentiality and integrity oif and  represent the algorithm of encryption and message authentication respectively?Why?

(a) Compute ,  Store . (b) Compute . Store .

  • 15
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值