public Unhash( NFSRaiderForm sender, HashFactory hashFactory, bool checkForHashesInFile, bool tryToBruteForce, string txtPrefixes, string txtSuffixes, string txtVariations, string txtWordsBetweenVariations, string txtMinVariations, string txtMaxVariations, string processorCount, GenerateOption generateOption, Endianness unhashingEndianness, CaseOptions caseOption) { Sender = sender; HashFactory = hashFactory; CaseOption = caseOption; Hashes = new HashSet <uint>(); Prefixes = new HashSet <string>(txtPrefixes.SplitBy(new[] { ',' }, '\\')); Suffixes = new HashSet <string>(txtSuffixes.SplitBy(new[] { ',' }, '\\')); WordsBetweenVariations = new HashSet <string>(txtWordsBetweenVariations.SplitBy(new[] { ',' }, '\\')); ProcessorCount = Convert.ToInt32(processorCount); VariationsGroups = new List <Variation>(); VariationModel = new Variation { MinVariations = Convert.ToInt32(txtMinVariations), MaxVariations = Convert.ToInt32(txtMaxVariations), GenerateOption = generateOption, }; UnhashingEndianness = unhashingEndianness; CheckForHashesInFile = checkForHashesInFile; TryToBruteForce = tryToBruteForce; InitializeVariatons(txtVariations.SplitBy(new[] { ',' }, '\\')); }
public Hash(NFSRaiderForm sender, HashFactory hashFactory) { Sender = sender; HashFactory = hashFactory; }