Begin by loading the code for problem set 2, using the Edwin command M-x load problem set.
Note on debugging procedures that use randomness: Many of the procedures you will be working with this assignment depend on selecting random numbers, and so will give different answers each time you run them. Such procedures can be confusing to debug, since it's hard to tell whether things are changing due to your modifications or just due to selecting different random numbers. To help you in debugging, we've provided a procedure reset-random! (which takes no arguments). Whenever you run (reset-random!) the random number generator will be returned to its initial state. This permits you to do repeatable experiments.
Check the 6.001 discussion forum for computer-ex-01
|
Look here
for information about the forum.
| |
Check the 6.001 discussion forum for computer-ex-02
|
Look here
for information about the forum.
| |
Check the 6.001 discussion forum for computer-ex-03
|
Look here
for information about the forum.
| |
Check the 6.001 discussion forum for computer-ex-04
|
Look here
for information about the forum.
| |
Check the 6.001 discussion forum for computer-ex-05
|
Look here
for information about the forum.
| |
(timed crack-public-key pk)will apply the procedure crack-public-key to the argument pk (or whatever argument you want to use) and return the result, together with the time (in seconds) required to do the computation. Crack some public keys of size 4. Remember that all the random choices will result in a wide range of results, but you should be able to get some sort of average time. How do you expect the time to crack the key to grow as the size of the prime increases? Suppose you had a million times the computational resources that you are now using in working on this problem set, and that all these resources could be dedicated to cracking a single key. How long would it take to crack a key of size 50? Of size 100? Give your answer in seconds, minutes, days, or years, whichever seems most appropriate.
Check the 6.001 discussion forum for computer-ex-06
|
Look here
for information about the forum.
| |
Our network sniffer has just intercepted the following e-mail
addressed to Dean Williams. -- A friend
13998
\232\211\351\216\3509m\025\327\234V\203v\354=F\tw\026\004~\335\264\234
\234\233bU\223b\206/\310\276\356\331\240\256I\262\360\317\266I\002\373
J\221eq<\001\301\236\303\375\372\373OFj\331\000\325c&z\306x\216\243\b
\341\250\006\026\367X\r\302\343b~\t\271\222rkE\030C\325\033\372z\3245n
\3506\025{[)\313+p\350x;%u\006\262\225\331\237\272K\202u1\257\331\305
\235e5(\327,\231\255\306\223\3345\370\262h\337\242.\211|\325\3736c\004
D84iOH\322eLl\000\267\036\371\313V(\376H\312\270\001\234\203\220b\330
\265\354\020k$= X&\250? \372
The Dean's office is working on better security, but due to reengineering, they have been unable to issue public keys of size greater than 5. William's public key and the above cipher-text are defined for you as pk-ex-7 and secret-ex-7. Crack the key and decrypt the message. It sounds ominous, doesn't it? (Be patient in cracking the key, which may take a minute or two. Note that this is a longer key than the ones you cracked in exercise 6.)
Check the 6.001 discussion forum for computer-ex-07
|
Look here
for information about the forum.
| |
Turn in answers to the following questions along with your answers to the questions in the problem set: