Re: [請問] 兩題資安導論 elgamal / RSA已回收
※ 引述《irenelove (irenelove)》之銘言:
: Q1: Consider an ElGamal scheme between Alice and Bob with a common
: prime q=71 and a primitive root α=7.
Alice 和 Bob 用 ElGamal 加密溝通
選了一個質數 q=71 和它的原根 α=7
: 1. If Bob has public key Y_B=3 and Alice chooses the random integer k=2,
: what is the ciphertext of M=30?
如果 Bob 的公開鑰 Y_B=3
Alice 的隨機整數 k=2
請問 M=30 加密後是多少
: 2. If Alice now chooses a different value of k so that the encoding of M=30
: is C=(59,C_2 ), what is the integer C_2?
如果 Alice 選了另一個值作為 k
用這個 k 加密 M=30 後是 C=(59,C_2 )
那 C_2 是啥
: Q2: Suppose Alice and Bob use a RSA with
: p q n e
: Alice 11 5 55 9
: Bob 13 7 91 11
: Alice want to send plaintext x=5 to Bob by using both RSA encryption and
: digital signature. Please note that only plaintext is used for RSA
: encryption. Please show the ciphertext y, signature s, and how Bob ensure
: this message is sent by Alice.
Alice 想要寄明文 x=5 要給 Bob
雙方都用 RSA 加密與數位簽章
只有明文是用在 RSA 加密
請寫出密文 y 簽名 s
以及 Bob 怎麼驗證這訊息是 Alice 寄的
RSA 的 pqne 如表格
: 看完投影片還是不太會寫 不知道那些代號是什麼 跪求幫忙> <
翻譯完畢
然後你要的代號這邊都找得到
http://security.nknu.edu.tw/textbook/chap3.pdf
http://security.nknu.edu.tw/textbook/chap5.pdf
--
SONICO is busty. She makes our people horny.
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.133.124.133
※ 文章網址: https://www.ptt.cc/bbs/ask/M.1421696038.A.9D5.html
※ 編輯: sixthday (220.133.124.133), 01/20/2015 03:34:15
※ 編輯: sixthday (220.133.124.133), 01/20/2015 03:35:34
推
01/20 03:36, , 1F
01/20 03:36, 1F
※ 編輯: sixthday (220.133.124.133), 01/20/2015 03:49:45
剛剛發現有地方翻錯 修正一下
另外補上 RSA 數位簽章的連結
※ 編輯: sixthday (220.133.124.133), 01/20/2015 03:52:17
→
01/20 04:40, , 2F
01/20 04:40, 2F
→
01/20 04:40, , 3F
01/20 04:40, 3F
ask 近期熱門文章
PTT職涯區 即時熱門文章
11
24
26
71