Added a feature for encrypting and saving the passphrase