- 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.
Last modified 08:59:32 CDT 03 June 2010
by Ron K. Cytron