def encrypt(self, password, kdf=None, iterations=None):
return self._publicapi.encrypt(self.privateKey, password, kdf=kdf, iterations=iterations)<EOL>
Generate a string with the encrypted key, as in
:meth:`~eth_account.account.Account.encrypt`, but without a private key argument.