Ignore:
Timestamp:
May 21, 2010, 12:57:14 AM (12 years ago)
Author:
Sven Rech
Message:

used the possibilities of the new .net BigInteger class to calculate the KeySearcher process easier.

File:
1 edited

Legend:

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

    r1448 r1456  
    675675
    676676            LinkedListNode<ValueKey> linkedListNode;
    677             ProgressChanged(Math.Pow(10, BigInteger.Log(keycounter, 10) - BigInteger.Log(size, 10)), 1.0);
     677            ProgressChanged((double)(keycounter/size), 1.0);
    678678
    679679            if (QuickWatchPresentation.IsVisible && doneKeys != 0 && !stop)
Note: See TracChangeset for help on using the changeset viewer.