public static void Main()
        {
            string[] alphabet = Utils.GetAlphabet();
            ShuffleYates <string> shuffler = new ShuffleYates <string>();

            for (int i = 0; i < 100; i++)
            {
                int      seed = Guid.NewGuid().GetHashCode();
                string[] perm = shuffler.Shuffle(alphabet, seed);
                Console.WriteLine(string.Join("", perm));
            }
            Console.WriteLine("===========================");

            /*
             * List<char> alphabet2 = Utils.GetAlphabet().ToList();
             * for (int i = 0; i < 10; i++)
             * {
             *  int hashCode = Guid.NewGuid().GetHashCode();
             *  List<char> perm = (List<char>)shuffler.Shuffle(alphabet2, hashCode);
             *  Console.WriteLine(string.Join("", perm));
             *
             * }
             */
            Console.ReadKey();
        }
        static void Main(string[] args)
        {
            Cesar cifru = new Cesar();

            string[] tests =
            {
                "aabbcc",
                "AaBbCc",
                "yzxYZX",
                "C",
                "The brown fox, tralalalalalalalalalalalalalalalalala"
            };
            Util.TestCriptare(cifru, tests);
            Util.TestCriptare(cifru, Util.GetAlphabet());

            /*
             * foreach (string  test in Utils.Utils.GetAlphabet())
             * {
             *  string clar = test.ToString();
             *  string criptat = cifru.Criptare(test.ToString());
             *  Console.WriteLine("{0}->{1}->{2}", clar, cifru.Criptare(test.ToString()), cifru.Decriptare(criptat));
             * }
             * foreach (string  test  in tests)
             * {
             *  string clar = test.ToString();
             *  string criptat = cifru.Criptare(test.ToString());
             *  Console.WriteLine("{0}->{1}->{2}", clar, cifru.Criptare(test.ToString()), cifru.Decriptare(criptat));
             * }
             */
        }
        static void Main()
        {
            CifruN cifru = new CifruN();

            Console.WriteLine(cifru.Cheie);

            string[] tests =
            {
                "aabbcc",
                "AaBbCc",
                "yzxYZX",
                "C",
                "The brown fox, tralalalalalalalalalalalalalalalalala"
            };
            Util.TestCriptare(cifru, tests);
            Console.WriteLine("==================");
            Util.TestCriptare(cifru, Util.GetAlphabet());
        }