It's beatifully elegant, because...
What? This is also the same company that spilled memory all over every cache everywhere.
It's beatifully elegant, because...
What? This is also the same company that spilled memory all over every cache everywhere.
This would allow you to simply look up whether the password was pwned based on form submits.
[edit] ok, I understand what you are saying, Troy's service allows some password privacy due to api design and happens to use cloudflare stuff. Sorry I was so slow.
I was conflating two unrelated things; a) what happens when you submit a password through cloudflare and b) what happens when you happen to use a specific password checking api which uses cloudflare.
In effect, Troy's service never knows the password. It doesn't even know if it existed in the list you received.
That doesn't work because only the first five characters of the hash are sent to the API. The API then returns a list of all the hashes that have that prefix that it knows about. The client then (privately) is able to see if their password hash is in that list.
Granted, your password was compromised already if it was in that list, so it needs to be changed anyway, but there's some information revealed by the hash (of course, how else could it be checked?).
It could be a value added service for all your customers.
[Sorry for the late edit, not being evil here].