Assignment 2 Marking Scheme
- 3 marks: If keys are generated correctly.
- 4 marks: If Alice runs correctly given a Bob that does not cheat.
- 2 marks: If Alice sends the messages in step 2 in random order.
- 2 marks: If Alice throws TooEarlyException correctly.
- 2 marks: If Alice throws WrongStringException correctly.
- 2 marks: If Alice throws WrongEncryptionException or WrongDecryptionException correctly.
- 4 marks: If Bob runs correctly given an Alice that does not cheat.
- 2 marks: If Bob throws TooEarlyException correctly.
- 2 marks: If Bob throws WrongDecryptionException correctly.
- 2 marks: If Bob throws EqualMessagesException correctly.