if (!dialog.okPressed()) {
return;
}
EnCrypt crypt = new EnCrypt();
String encrypted = crypt.encrypt(text, dialog.getPassword().trim(), 64);
String decrypted = crypt.decrypt(encrypted, dialog.getPassword().trim(), 64);
if (encrypted.trim().equals("")) {
QMessageBox.information(this, tr("Error"), tr("Error Encrypting String"));
return;