Exemplo n.º 1
0
        private ICipher GetHexadecimalCipher()
        {
            AggregateCipher cipher = new AggregateCipher();
            cipher.AddCipher(new RadixCipher(16, 2));
            cipher.AddCipher(new GroupingCipher(2));

            return cipher;
        }
Exemplo n.º 2
0
        private ICipher GetStuffingCipher()
        {
            AggregateCipher cipher = new AggregateCipher();
            cipher.AddCipher(new StuffingCipher(1));
            cipher.AddCipher(new GroupingCipher(5));

            return cipher;
        }
Exemplo n.º 3
0
        private ICipher GetBinaryCipher()
        {
            AggregateCipher cipher = new AggregateCipher();
            cipher.AddCipher(new RadixCipher(2, 8));
            cipher.AddCipher(new GroupingCipher(8));

            return cipher;
        }