CASCExplorer.Salsa20.GetRandomBytes C# (CSharp) Method

GetRandomBytes() private static method

private static GetRandomBytes ( int byteCount ) : byte[]
byteCount int
return byte[]
        private static byte[] GetRandomBytes(int byteCount)
        {
            byte[] bytes = new byte[byteCount];
            rnd.NextBytes(bytes);
            //using (RandomNumberGenerator rng = new RNGCryptoServiceProvider())
            //    rng.GetBytes(bytes);
            return bytes;
        }