example code is a License Key Generator. Basically Serializes, Compresses & Encrypts Object (in that order).
What is unique about the encryption used, 16 block ciphers are randomly chosen for each 128 bits of data that are encrypted. The Licence Key Generator is an example, written in C#, that uses the C++ encryption code to encrypt the C# object.