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.

12.14. EXERCISES 253<br />

Bob is going to be sending you the name <strong>of</strong> a new business contact. But<br />

so is Carley. If Bob’s RSA parameters are N = 7979 and e = 47 and<br />

Carley’s are N = 3569 and e = 53, who sent the message and what does<br />

it say<br />

13. The statement <strong>of</strong> Euler’s Theorem begins “If p and q are two distinct<br />

primes.” Why is the distinctness needed In other words, what happens<br />

if p = q<br />

14. By some amazing coincidence Alice and Bob independently chose the same<br />

primes P and Q when making their RSA parameters. Fortunately they<br />

chose different encryption and decryption keys e A and e B . Show that<br />

given the ciphertexts C A = (M e A<br />

)%N and C B = (M e B<br />

)%N if e A and e B<br />

are relatively prime then M can be recovered.<br />

15. Show that P +Q = N −(P −1)(Q−1)+1 and P −Q = √ (P + Q) 2 − 4N.<br />

Thus by adding or subtracting P and Q can be found directly.<br />

This shows that knowledge <strong>of</strong> N and (P − 1)(Q − 1) suffices to break<br />

RSA.<br />

16. Shamir, Rivest and Adelman suggested that their RSA method could be<br />

used to play poker over the phone [SRA]. Explain how using techniques<br />

similar to signing a message, two players may use RSA to play poker.<br />

Hint: Have one player begin by encrypting the fifty-two messages ace<br />

<strong>of</strong> clubs, two <strong>of</strong> clubs, three <strong>of</strong> clubs, ..., king <strong>of</strong> spades, sending<br />

them to the other player. There will need to be a lot <strong>of</strong> messages sent.

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

Saved successfully!

Ooh no, something went wrong!