//void unlockKeyNameComBox() //{ // if (checkBox8.Checked) // { // comboBox3.Enabled = true; // } // else // { // comboBox3.Enabled = false; // } //} void generateString(int txtBox) { if (txtBox == 0) { textBox5.Text = PasswordGenerator.generate(16); } else if (txtBox == 1) { int length = (int)numericUpDown2.Value; textBox4.Text = PasswordGenerator.generate(length); } }
void generateInitialValue() { textBox3.Text = PasswordGenerator.generate(16); }
void generateSalt() { int saltLength = (int)numericUpDown2.Value; textBox4.Text = PasswordGenerator.generate(saltLength); }
string generateRadomString(int length) { string password = PasswordGenerator.generate(length); return(password); }