Changeset 1355


Ignore:
Timestamp:
Apr 25, 2010, 5:08:15 PM (12 years ago)
Author:
pretzsch
Message:

+ MD5Collider: Added multithreaded execution

Location:
trunk/CrypPlugins/MD5Collider
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/MD5Collider/Algorithm/IMD5ColliderAlgorithm.cs

    r1187 r1355  
    2121        void Stop();
    2222
    23         string Status { get; set; }
    24 
    2523        int MatchProgressMax { get; }
    2624        int MatchProgress { get; }
  • trunk/CrypPlugins/MD5Collider/Algorithm/KlimaTunnelsCollider.cs

    r1267 r1355  
    257257
    258258            MatchProgressMax = 8;
    259             Status = StatusConstants.FINDING_BLOCK1;
    260259
    261260            UInt32[] Q = new UInt32[65], x = new UInt32[16];
     
    13771376            UInt32 i, Hi, Lo, jednicky, spolecna_maska;
    13781377
    1379             Status = StatusConstants.FINDING_BLOCK2;
    13801378            MatchProgressMax = 5;
    13811379
  • trunk/CrypPlugins/MD5Collider/Algorithm/MD5ColliderBase.cs

    r1241 r1355  
    1414        public byte[] RandomSeed { protected get; set; }
    1515        public byte[] IHV { protected get; set; }
    16 
    17         private String _status;
    18         public string Status { get { return _status; } set { _status = value; OnPropertyChanged("Status"); } }
    1916
    2017        public MD5ColliderBase()
  • trunk/CrypPlugins/MD5Collider/MD5Collider.cs

    r1267 r1355  
    4646        public MD5Collider()
    4747        {
    48             Collider = new StevensCollider();
    49             Collider.Status = "Waiting";
     48            Collider = new MultiThreadedMD5Collider<StevensCollider>();
     49            //Collider.Status = "Waiting";
    5050        }
    5151
  • trunk/CrypPlugins/MD5Collider/MD5Collider.csproj

    r1314 r1355  
    100100  </ItemGroup>
    101101  <ItemGroup>
     102    <Compile Include="Algorithm\ColliderWorkerAdapter.cs" />
    102103    <Compile Include="Algorithm\IHVCalculator.cs" />
    103104    <Compile Include="Algorithm\IMD5ColliderAlgorithm.cs" />
    104105    <Compile Include="Algorithm\KlimaTunnelsCollider.cs" />
    105106    <Compile Include="Algorithm\MD5ColliderBase.cs" />
     107    <Compile Include="Algorithm\MultiThreadedMD5Collider.cs" />
    106108    <Compile Include="Algorithm\StatusConstants.cs" />
    107109    <Compile Include="Algorithm\StevensCollider.cs" />
Note: See TracChangeset for help on using the changeset viewer.