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