• @intensely_human@lemm.ee
      link
      fedilink
      English
      1011 months ago

      Right but that puts a limit on the hash algorithm’s input length. After a certain length you can’t guarantee a lack of collisions.

      Of course the probability stays low, but at a certain point it becomes possible.

      • @brygphilomena@lemmy.world
        link
        fedilink
        English
        711 months ago

        Collisions have always been a low concern. If, for arguments sake, I.hate.password. had a collision with another random password like kag63!gskfh-$93+"ja the odds of the collision password being cracked would be virtually non-existent. It’s not a statistically probable occurrence to be worried about.

      • @__dev@lemmy.world
        link
        fedilink
        English
        211 months ago

        This is plainly false. Hash collisions aren’t more likely for longer passwords and there’s no guarantee there aren’t collisions for inputs smaller than the hash size. The way secure hashing algorithms avoid collisions is by making them astronomically unlikely and that doesn’t change for longer inputs.

    • DreamButt
      link
      fedilink
      English
      811 months ago

      yup yup. Forgot we were talking about a protected field and not just raw data