Sample - Securely Encoding and Decoding

I enjoy coding in my free time.  This sample is something I produced in
my free time to improve upon the inventory system submitted in a
previous example.

It addresses some important flaws in the inventory
system provided in a previous sample.  It improves upon the crypto
implementation, moving from standard AES to AES-CBC for increased
obfuscation and protection from prying eyes.

In addition to the
cryptography improvements, this library uses JSON, instead of my
homebrew encoding functions, to transmit data over the network.

On top
of those fundamental improvements, this library demonstrates my first
professional usage of classes. This experimentation has lead and will,
in the future, lead to improved organization and readability amongst the
code I create.

This library contains mostly convenience functions for
performing
encoding, encryption, and decryption of data.