5 int main (int argc, char *argv[])
7 std::ifstream fin ("Problem3.out", ios::binary);
13 key.push_back (fin.get());
15 /* Create the AES Object */
20 /* Read the input and decrypt */
21 for (char c=fin.get(); !fin.eof(); c=fin.get())
25 if (input.size() == 16)
27 byteArray plaintext = aes.decrypt (input);
30 for (i=0; i<plaintext.size(); ++i)
31 std::printf ("%c", plaintext.at(i));
40 /* vim: set ts=4 sts=4 sw=4 noet tw=120 nowrap: */