• stingpie@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    4 days ago

    The only definition of hash that I know is an identifier for an object created from that object’s data. Everything else stems from that central idea. What other types of hash are there?

    • 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
        ·
        3 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
          ·
          3 days ago

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

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

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