On a website with user accounts, all HTTP requests coming from the submission of a login form kind of contain the same info, there are only a few things that are different in the HTTP requests, such as the entered username, the entered password, and a few headers, such as User-Agent
. If HTTPS is used to encrypt the request and a hacker would inspect the encrypted request and know the user tries to login as Alice
using Firefox, would the hacker be able to figure out the length of the password by looking at the length of the encrypted HTTP request?
I guess my question is if (or to which extent) HTTPS is leaking the length of the encrypted message.