Exemple #1
0
        private void AddPassword()
        {
            string pass = PasswordUtils.GenerateStrongPass(Convert.ToInt32(edPasswordLen.Text), chUsePunktuation.Checked, chUseEntropy.Checked);

            if (chStrongly.Checked)
            {
                pass += " " + Convert.ToString(PasswordUtils.TestPasswordWeak(pass, ""));
            }
            moPasswords.Text += pass + Environment.NewLine;
        }