|
|
|
|
CS 223 In-lab 12 For CS 223, in-labs will consist of a mix of exercises and problems and short programming assignments. These will be due at the end of the lab period. You may occasionally be assigned homework problems as well. Homework will always be due at the beginning of the next lab. Testing out the RSA Cryptosystem The goal of this in-lab is to experiment with some simple RSA code that I found on the web and modified slightly (Driver.java, RSA.java). It implements the RSA cryptosystem exactly the way we discussed in class. First, compile this code and try running it. It prints out a simple test for sending the message 'hello alice'. It also prints out the public and private keys. In this case the public key is the pair (public, modulus) and the private key pair is (private, modulus). Your task is to make some simple modifications to the code and test it out:
Bonus Question Implement digital signatures. Show how you can digitally sign a message using RSA and generate a example showing this. Course Evaluations Please complete the online course evaluation form for CS 223 located here. I hope you enjoyed the course. What to Turn In
|