this post was submitted on 18 Sep 2025
76 points (93.2% liked)

Technology

78341 readers
4135 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] krunklom@lemmy.zip 4 points 3 months ago

With the caveat that I haven't read how google is implementing this I can provide some high level context on how hashes work from a security perspective.

Anyone else feel free to correct anything I get wrong here.

So, once upon a time someone came up with something called md5 for encrypting things. This didn't end up being a very effective way of encrypting files, but people did find that encrypting files this way was a great way to predictably create a value that would be unique to that specific file.

So if you take an md5 hash of a .txt files with "goat testicles" in it, called goats.txt, and someone sends you a file called goats.txt, you should be able to take an md5 hash of the file before opening it, and if they match up they're the same file. If someone adds a "z" to the end of goats.txt the md5 hash will change so you'll know it's not the same file.