06.01.2015 Views

Cryptology - Unofficial St. Mary's College of California Web Site

Cryptology - Unofficial St. Mary's College of California Web Site

Cryptology - Unofficial St. Mary's College of California Web Site

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

252 CHAPTER 12. RSA<br />

(b) Compute d and decipher 2024, 1553, 469, 299.<br />

6. Decipher 498, 1, 280, 248, 143, 37, if the RSA system used P = 19,<br />

Q = 29 and e = 13.<br />

7. Encipher composite in three-letter blocks using the parameters P = 1223,<br />

Q = 563 and e = 23.<br />

8. (a) [RSA] The “Small Example” given in the original description <strong>of</strong> RSA<br />

uses p = 27, q = 59 and d = 157. (This paper chooses d first and<br />

then computes e.) Compute e.<br />

(b) Using the usual translation <strong>of</strong> letters to two-digit numbers, with 00<br />

representing a space, translate Its all greek to me into numbers.<br />

(c) Encipher the message.<br />

9. [Hellman] In his Scientific American paper about Knapsack Ciphers and<br />

RSA, Hellman uses the letter-to-number translation in which a to z are 0<br />

to 25, A to Z are 26 to 51, a space is represented by 62, and is 66.<br />

(a) Hellman’s example message is How are you What is the numerical<br />

equivalent<br />

(b) Use e = 11 and N = 11023 to encipher the message in two-letter<br />

pairs. (Hellman called these E and n.) Hint: 73 divides 11023.<br />

(c) Find the deciphering exponent.<br />

10. In the following examples, the sender has tried to prove his identity by<br />

signing the message, as described in the text. Decipher the message.<br />

(a) The message is 54, 135, 112, 112. It is to Andy (parameters P =<br />

17, Q = 11, e = 7) from Bridget (parameters P = 19, Q = 13,<br />

e = 5).<br />

(b) The message is 14756, 9105, 191. It is to Alice (parameters P =<br />

137, Q = 191, e = 7) from Bob (parameters P = 173, Q = 127,<br />

e = 5).<br />

11. We started the chapter by considering raising a message to the 3rd power.<br />

That is translating letters to numbers and raising each number to the 3rd<br />

power modulo 26. Why didn’t we instead raise 3 to the letter’s power<br />

So, for example, e would encipher to 3 5 = 243 ≡ 9 (mod 26) = I. Would<br />

this method produce a good cipher (Hint: encipher a couple <strong>of</strong> words<br />

and study the outcome.)<br />

12. Your RSA parameters are P = 67, Q = 97, e = 59 and d = 179. One day<br />

you receive the message<br />

5689, 3415, 347.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!