public List <string> GenerateSome() { var result = new List <string>(); var random = new WrappedRandomNumberGenerator(new RNGCryptoServiceProvider()); for (var i = 0; i < 1000; ++i) { var length = 1 + (Math.Abs(random.GetNextInt32()) % 11); var str = Generate(length); result.Add(str); } return(result); }
private char GetNextChar() { var nextCharOffset = Math.Abs(randomNumberGenerator.GetNextInt32()) % RussianAlphabet.Length; return(RussianAlphabet[nextCharOffset]); }