Beispiel #1
0
        public void ContainsOnlyCharset(string charset, int len)
        {
            Random rnd = new CryptoRandom();

            foreach (char c in rnd.NextString(charset, len))
            {
                Assert.IsTrue(charset.Contains(c));
            }
        }