Пример #1
0
        public ADFGVX(Alphabet key, String keyword)
        {
            KeySquare = key;
            Keyword   = keyword;

            polybius = new Polybius(KeySquare, "ADFGVX");
            columnar = new ColumnarTranspostition(keyword);
        }
Пример #2
0
        public ADFGX(Alphabet key, String keyword)
        {
            KeySquare = key;
            Keyword   = keyword;

            polybius = new Polybius(KeySquare, "ADFGX", (ch) => {
                if (ch == 'J')
                {
                    return('I');
                }
                return(ch);
            });
            columnar = new ColumnarTranspostition(keyword);
        }