Runtime Switches
We want to develop FCrypt to be able to take a series of command line inputs to allow us to decrypt a message, use password-based encryption (pbe) or to display time information for a cipher operation. With that in mind, the following flags are defined appropriately.
static int dflag = 0;
/* 1 - decrypt */static int tflag = 0;
/* 1 - time */static int pflag = 0;
/* 1 - use pbe */
Next, see Encrypt Functions.