Exemplo n.º 1
0
        public void Init()
        {
            const int bytesCount = 10;
            const int primCount  = 10;

            numbers = new(primCount);

            for (int i = 0; i < primCount; ++i)
            {
                numbers.Add(BigIntegerExtension.GetRandomPrime(bytesCount, (b) => b.SolovayStrassenTest(1000)));
            }
        }