• @mindbleach
    link
    English
    585 months ago

    I’ve done the math for how long it’d take to randomly guess the last several kilobytes until something checksummed correctly.

    I was not pleased with the answer.

    • @[email protected]
      link
      fedilink
      English
      145 months ago

      You know I never thought of that… but yeah that would be a good very very very very large number.

      Like throwing puzzle pieces in the air and getting it to land completed.

      • @mindbleach
        link
        English
        155 months ago

        Let me save you some time: not enough.

        • Trailblazing Braille Taser
          link
          fedilink
          English
          45 months ago

          Haha agreed, if we’re talking about kilobytes of missing data brute forcing is intractable.

          There may be structure to exploit in the data format. E.g. if you’re recovering missing content from a book written in English, you can probably get away with enumerating only printable ASCII and 90% of the letters will be lowercase.

          But practically, I am unconvinced because the information density is pretty high on the kinds of things people like to torrent.

    • Laura
      link
      fedilink
      English
      45 months ago

      wait until you hear about collisions (missing more bits than your hash output length guarantees a collision on average)

    • @[email protected]
      link
      fedilink
      English
      45 months ago

      If its a piece at the beggining or end of the file it would likely be significantly easier