Lab: Cryptographic Utilities Project


We recommend that you work on this lab with a classmate. Any work you and your partner develop during the lab can be shared in your project submission. However, after the lab is concluded, each student is required to work on the remainder of the project on their own.

Objective

Your goal for this lab is to make some progress on your solution to the Cryptographic Utilities project.

Setup

Follow these steps to set up a project for this lab.

  1. The set-up for this lab is the same as for the Cryptographic Utilities project.

Method

  1. After reviewing the problem description and the skeleton provided, select, among the methods you need to implement for the project, one that neither you nor your partner have implemented yet. A good candidate for this lab would be the powerMod method.
  2. Once you have completed the implementation of one of the methods, test it by adding appropriate test cases to the JUnit test fixture provided and fix any problems you discover.

Additional Activities

  1. If you have extra time, you can choose another method that neither you nor your partner has implemented yet, and work on implementing and testing that.