I think we can probably combined encrypt password and create new password into one entry as well as add a little "bling".
first idea:
connect password.onchange_signal , encrypt_slot
encrypt_slot
enc_password.setText (encrypt password.text)
second idea:
connect randomizeButton.pressed_signal, randomize_slot
ranomize_slot
password.setText( existing_random_pass_func() )
this should remove the need for the encrypt button and allow us to rename the create button (and maybe rename it Randomize). when the Randomize button is clicked, the password field is changed, causing the enc_password field to change as well.
On top of all of this, since we're talking about relatively small encryption strings, there's no reason why we can't do this "real time" so as the user types in the password, they can watch the enc_password change :)
for the user wanting to encrypt their password, it's one less step.