[cs631apue] HW5 Key Confusion

Jan Schaumann jschauma at stevens.edu
Thu Nov 29 10:13:54 EST 2012


tparisi <tparisi at stevens.edu> wrote:

> I am 100% confused on how the keys are working for HW5.  Can someone  
> please clear this up for me? An example would be extremely helpful.

Can you explain what is confusing?

Your program takes a command-line option ('-k') that takes an argument.
It then needs to verify that that argument is exactly 16 characters in
length as well as a hexadecimal string.  If these two conditions are
met, then your program will use that string as the key, otherwise it
will error out.

-Jan


More information about the cs631apue mailing list