FTP ftp = new FTP(); //Trial Mode
//FTP ftp = new FTP("place user name here", "place license key here");
string originalString = string.Empty.PadRight(8000, '*');
byte[] input = System.Text.ASCIIEncoding.ASCII.GetBytes(originalString);
encrypted = ftp.CompressBytes(KellermanSoftware.EncryptionLibrary.CompressionType.GZip, input);
decrypted = ftp.DecompressBytes(KellermanSoftware.EncryptionLibrary.CompressionType.GZip, encrypted);
string decryptedString = System.Text.ASCIIEncoding.ASCII.GetString(decrypted);
Console.WriteLine("The strings are equal : {0}", originalString == decryptedString);