you are viewing a single comment's thread
view the rest of the comments
[–] 84 points 1 year ago (5 children)

this is basically

“see if your credit card has been hacked by entering it below!“

  • source
  • hideshow 5 child comments
  • [–] 17 points 1 year ago* (4 children)

    I get the same vibes from https://haveibeenpwned.com/Passwords

    I know the site is made by a security researcher but still. It doesn't feel completely safe to give then my passwords.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 15 points 1 year ago* (last edited 1 year ago)

    Except you’re not

    https://haveibeenpwned.com/API/v3#PwnedPasswords

    Your computer is basically sending a part of your password (the first five characters of a hash) and if the server responds positively to a match it sends all the other possible combinations and your computer looks to see if it matches the rest based on when you typed.

    For more information

    https://en.wikipedia.org/wiki/K-anonymity

    It’s always good to be cautious, but it’s especially important to know how tech works, especially good tech, when it can have immense benefit

  • source
  • parent
  • [–] 15 points 1 year ago

    That is the correct way of thinking, never trust anything with your passwords.

    I was curious on what haveibeenpwned does, so I took a look at what the network tab in dev tools said what was actually sent. When I type a password (say password123) and press check it runs a function that hashes with the "SHA-1" hash function and then sends the first 5 characters of the result. The response is over a thousand lines in the format of 35 hash characters:number of breaches

    If any of these hashes are the start of your original hash, you now know it's exposed and how many times it's been exposed.

  • source
  • parent