Ignore:
Timestamp:
May 20, 2010, 12:35:16 PM (12 years ago)
Author:
Sven Rech
Message:

replaced all BigInteger stuff with the new BigInteger class from .net 4.0

But there are still problems with some plugins (Keysearcher, BigInteger Operations...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/QuadraticSieve/QuadraticSieve.cs

    r1445 r1448  
    3030using System.Windows;
    3131using System.Reflection;
     32using System.Numerics;
    3233
    3334namespace Cryptool.Plugins.QuadraticSieve
     
    211212                    for (int i = 0; i < factors.Count; i++)
    212213                    {
    213                         outs[i] = new BigInteger((string)factors[i], 10);
     214                        outs[i] = BigInteger.Parse((string)factors[i]);
    214215                    }
    215216                    OutputFactors = outs;
Note: See TracChangeset for help on using the changeset viewer.