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