static void Main(string[] args) { CipherComp cc = new CipherComp(); string text = "This is a test"; string ciphertext = cc.Encode(text); Console.WriteLine(ciphertext); string plaintext = cc.Decode(ciphertext); Console.WriteLine(plaintext); cc.Dispose(); Console.Read(); }
static void Main(string[] args) { CipherComp cc = new CipherComp(); string text = "Testing"; string ciphertext = cc.Encode(text); Console.WriteLine(ciphertext); string plaintext = cc.Decode(ciphertext); Console.WriteLine(plaintext); text = "Components are powerful"; ciphertext = cc.Encode(text); Console.WriteLine(ciphertext); plaintext = cc.Decode(ciphertext); Console.WriteLine(plaintext); cc.Dispose(); Console.Read(); }