- Grab a studio sheet and install the studio code as usual.
- The code from class is in your studio repo in the
lecture11 package, including DemoHex
that shows how to use
- The code developed for flap in class is in the
lecture11flap package in your studo repo.
- You may find this page
useful as it describes methods for converting a byte (array) to a String that
shows the bytes in hex.
You will be asked to explain how the code works that does this, so figure that
out or get help before you demo to the TA.
- Implement a method that roasts passwords, as described in class. Reminders
about the process for doing this are in the Roast class.
Implement your work in the
Roast class, which you'll find in the studio code
in the toc
package. The signature of the roasting method is:
public static String roast(String in, String key)
- Check your work with the RoastTest.java
JUnit test included with the studio.
- Get TA to check off your work.
- Work on the FLAP I/O if it's not complete
- Try to connect to a server using
the Lab 4b instructions
For now, use the practice server at port 9898 of a machine
in the Cupples II attic. Use a user name that is distinctive so you
can find your output on the server's screen.
When you done with this studio, you must be cleared by the TA to receive credit.
- Commit all your work to your repository
- Fill in the form below with the relevant information
- Have a TA check your work
- The TA should check your work and then fill in his or her name
- Click OK while the TA watches
Last modified 06:19:45 CDT 29 March 2011
by Ron K. Cytron