How do I encrypt the transmission of the login password submission form?

nextcloud17

The login password is currently submitted when the form is transmitted in clear text. It can be intercepted and modified using the packet capture tool.

HTTPS doesn’t solve this problem, so how can you encrypt your login password in transit? Is there any such App? Or how to develop changes?

it should exactly solve this.

and this third-party capture tool is in your network, or the network router?