using System.Security.Cryptography; namespace ET.Server { public static class CryptoRandomGenerator { public static int Next(int minInclusive, int maxExclusive) { return RandomNumberGenerator.GetInt32(minInclusive, maxExclusive); } } }