• kamen@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    Yeah, it’s basically that, but it has different uses - two main things I can think of right away are 1) verifying data when downloading large files and 2) cryptography (e.g. when storing credentials). Oh, and hash tables too.

    • Laser@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      Well, but the question wasn’t “what is a hash used for”, but rather “what is a hash”

      • kamen@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Then it’s not all that ambiguous and could be answered with one sentence.

        • Laser@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          Technically, the question was even easier (yes/no), but I agree with the sentiment