@@ -147,8 +147,9 @@ void MainWindow::connectSignalsAndSlots()
147147 safeConnect (ui->actionExit , SIGNAL (triggered ()), this , SLOT (on_actionExit_triggered ()));
148148 safeConnect (ui->actionPreferences , SIGNAL (triggered ()), this , SLOT (on_actionPreferences_triggered ()));
149149 safeConnect (ui->actionAbout , SIGNAL (triggered ()), this , SLOT (on_actionAbout_triggered ()));
150- safeConnect (ui->actionAboutCiphers , SIGNAL (triggered ()), this , SLOT (on_actionAboutCiphers_triggered ())); // New connection
151- safeConnect (ui->actionAboutKDFs , SIGNAL (triggered ()), this , SLOT (on_actionAboutKDFs_triggered ())); // New connection
150+ safeConnect (ui->actionAboutCiphers , SIGNAL (triggered ()), this , SLOT (on_actionAboutCiphers_triggered ()));
151+ safeConnect (ui->actionAboutKDFs , SIGNAL (triggered ()), this , SLOT (on_actionAboutKDFs_triggered ()));
152+ safeConnect (ui->actionAboutIterations , SIGNAL (triggered ()), this , SLOT (on_actionAboutIterations_triggered ()));
152153
153154 m_signalsConnected = true ;
154155}
@@ -512,3 +513,20 @@ void MainWindow::on_actionAboutKDFs_triggered() {
512513
513514 QMessageBox::information (this , " About KDFs" , aboutKDFsText);
514515}
516+
517+ void MainWindow::on_actionAboutIterations_triggered ()
518+ {
519+ QString aboutIterationsText = QString (
520+ " About Iterations:\n\n "
521+ " The number of iterations used in key derivation functions (KDFs) is a critical factor in the security "
522+ " of the encryption process. Iterations increase the computational effort required to derive the encryption "
523+ " key, making brute-force attacks more difficult.\n\n "
524+ " Recommended Iteration Counts:\n "
525+ " - Argon2: 10 or more iterations. Argon2 is memory-hard, and higher iterations further increase security.\n "
526+ " - Scrypt: N = 2^20 (1,048,576) or higher. Scrypt is also memory-hard, and high iteration counts make it more resistant to attacks.\n "
527+ " - PBKDF2: 10,000,000 or more iterations. PBKDF2 relies on high iteration counts to increase security.\n\n "
528+ " For maximum security, consider using higher iteration counts, especially if performance is not a critical concern."
529+ );
530+
531+ QMessageBox::information (this , " About Iterations" , aboutIterationsText);
532+ }
0 commit comments