コード例 #1
0
        private void btStart_Click(object sender, EventArgs e)
        {
            _speedAverage.Clear();
            var hash = comboBoxHash.SelectedItem as IBruteforceHash;

            Bruteforce.Start(hash, tbCharset.Text, (int)numMinCount.Value, (int)numCount.Value, (int)numThreads.Value, tbInput.Text);

            var space = (ulong)StringHelper.CalculateSpace(Bruteforce.Charset, (int)numMinCount.Value, (int)numCount.Value);

            lblCharspaceValue.Text = space.ToString("0,0");
        }