883
you are viewing a single comment's thread
view the rest of the comments
[-] stingpie@lemmy.world 8 points 2 months 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?

[-] Waraugh@lemmy.dbzer0.com 6 points 2 months ago

I smoked some on the way in here to make interviewing more tolerable

[-] trebach@sh.itjust.works 1 points 2 months ago

I had a can of it and made some Reuben sandwiches.

[-] kamen@lemmy.world 4 points 2 months 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 1 points 1 month ago

Well, but the question wasn't "what is a hash used for", but rather "what is a hash"

[-] kamen@lemmy.world 2 points 1 month ago

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

[-] Laser@feddit.org 2 points 1 month ago

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

this post was submitted on 30 Aug 2026
883 points (98.6% liked)

Programmer Humor

33887 readers
508 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS