EnDecryptDialog dialog = new EnDecryptDialog();
dialog.setHint(hint);
while (plainText == null || !dialog.okPressed()) {
dialog.exec();
if (!dialog.okPressed()) {
return;
}
plainText = crypt.decrypt(text, dialog.getPassword().trim(), 64);
if (plainText == null) {
QMessageBox.warning(this, tr("Incorrect Password"), tr("The password entered is not correct"));