Ignore:
Timestamp:
Oct 13, 2009, 1:09:46 PM (12 years ago)
Author:
Sven Rech
Message:

some KeySearcher changes

File:
1 edited

Legend:

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

    r705 r717  
    323323        }
    324324
     325        public int getBlocksize()
     326        {
     327            try
     328            {
     329                return int.Parse(((CostFunctionSettings)this.plugin.Settings).Blocksize);
     330            }
     331            catch (Exception ex)
     332            {
     333                throw new Exception("Entered blocksize is not an integer: " + ex.Message);
     334            }
     335        }
     336
    325337        /// <summary>
    326338        /// Returns the relation operator of the cost function which is set by by CostFunctionSettings
Note: See TracChangeset for help on using the changeset viewer.