Possible Duplicate:
encrypt-decrypt single block with AES and Crypto++
I have a homework that involves implementing two operation modes of AES, but the problem is that I don't know how to encrypt a single AES block. As in, I don't know how to use Crypto++'s implementation of AES in isolation. Everywhere I looked I could only find code snippets that use the library's operation modes, and even though I know that's how it's supposed to be used, I would like to actually do it myself for the assignment. Can anyone please help with some C++ code example?