Five-character prefix lookup
The browser computes the password's 40-character SHA-1 digest. The lookup request contains only its first five hexadecimal characters, not the plaintext password or complete digest. HIBP returns candidate suffixes belonging to hashes with that prefix, together with their prevalence counts. This k-anonymity design avoids directly disclosing which complete hash is being checked.