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
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- 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.
- Check for duplicates before posting, duplicates may be removed
- 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
view the rest of the comments
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.