fixes #10 ; encrypting new private key