frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Choosing a hash function for 2030 and beyond: SHA-2 vs. SHA-3 vs. BLAKE3

https://kerkour.com/fast-secure-hash-function-sha256-sha512-sha3-blake3
15•unsolved73•2h ago

Comments

Octoth0rpe•1h ago
Could someone explain the differences between these two points? They seem identical to me.

> [The hash function] also should be second-preimage resistant: For a given message M1, it must be virtually impossible to find a second message M2 where M1 != M2 that produces the same hash hash(M1) == hash(M2).

> These functions should be also collision resistant: it must be virtually impossible to find two messages M1 and M2 where hash(M1) == hash(M2).

amluto•1h ago
Collision resistance implies second-preimage resistance, but second-preimage resistance does not imply collision resistance.

Some care is needed with the definitions. For any hash function, the adversary can compute a bunch of hashes, and those outputs obviously have known first preimages. And a hash function with a known collision has a known second preimage given one of the colliding inputs.

Paedor•1h ago
The second objective is easier than the first. It may be easier to find any M1 and M2 that collide, than to find an M2 that collides with a specific M1.
coldpie•1h ago
The difference is "for a given message M1". In the 2nd requirement, you may choose both M1 and M2. For the 1st requirement, you are given M1 and must find M2.
amluto•1h ago
> We will evaluate these functions on 3 points:

I’m disappointed that they didn’t discuss my favorite feature of BLAKE3: it’s a tree hash. If you have a file and the BLAKE3 hash of that file, you can generate a proof that a portion of the file is correct. And you can take a file, split it into pieces (of known length and offset), hash them as you receive them, and then assemble them into the full file and efficiently calculate the full file’s hash. The other options cannot do this, although you could certainly build this on top of them.

Imagine how much better S3 would be if it used BLAKE3 instead of MD5. (Hah, S3 and its competitors don’t even manage to fully support MD5 for multipart uploads, although they could support BLAKE3 very well with multipart uploads!)

robobully•1h ago
A month ago, the team behind the SHA-3 has published an RFC for TurboSHAKE and KangarooTwelve: secure hash functions that employ the same primitive as SHA-3, but with reduced number of rounds to make it faster. K12 is basically a tree-based hash over TurboSHAKE.

https://keccak.team/2025/rfc9861.html

Show HN: We built an open source, zero webhooks payment processor

https://github.com/flowglad/flowglad
66•agreeahmed•1h ago•53 comments

FLUX.2: Frontier Visual Intelligence

https://bfl.ai/blog/flux-2
106•meetpateltech•2h ago•37 comments

Launch HN: Onyx (YC W24) – Open-source chat UI

96•Weves•4h ago•82 comments

The 101 of analog signal filtering (2024)

https://lcamtuf.substack.com/p/the-101-of-analog-signal-filtering
47•harperlee•4d ago•1 comments

It is ok to say "CSS variables" instead of "custom properties"

https://blog.kizu.dev/css-variables/
33•eustoria•1h ago•8 comments

Human brains are preconfigured with instructions for understanding the world

https://news.ucsc.edu/2025/11/sharf-preconfigured-brain/
335•XzetaU8•12h ago•226 comments

Trillions spent and big software projects are still failing

https://spectrum.ieee.org/it-management-software-failures
92•pseudolus•6h ago•81 comments

Making Crash Bandicoot (2011)

https://all-things-andy-gavin.com/video-games/making-crash/
142•davikr•6h ago•10 comments

Ozempic does not slow Alzheimer's, study finds

https://www.semafor.com/article/11/25/2025/ozempic-does-not-slow-alzheimers-study-finds
49•danso•2h ago•34 comments

LPLB: An early research stage MoE load balancer based on linear programming

https://github.com/deepseek-ai/LPLB
10•simonpure•6d ago•0 comments

Most Stable Raspberry Pi? Better NTP with Thermal Management

https://austinsnerdythings.com/2025/11/24/worlds-most-stable-raspberry-pi-81-better-ntp-with-ther...
244•todsacerdoti•11h ago•76 comments

Python is not a great language for data science

https://blog.genesmindsmachines.com/p/python-is-not-a-great-language-for
30•speckx•1h ago•16 comments

how to repurpose your old phone into a web server

https://far.computer/how-to/
9•louismerlin•3d ago•0 comments

Roblox is a problem but it's a symptom of something worse

https://www.platformer.news/roblox-ceo-interview-backlash-analysis/
81•FiddlerClamp•2h ago•114 comments

Unpowered SSDs slowly lose data

https://www.xda-developers.com/your-unpowered-ssd-is-slowly-losing-your-data/
659•amichail•23h ago•273 comments

Broccoli Man, Remastered

https://mbleigh.dev/posts/broccoli-man-remastered/
116•mbleigh•6d ago•58 comments

Nearby peer discovery without GPS using environmental fingerprints

https://www.svendewaerhert.com/blog/nearby-peer-discovery/
52•waerhert•4d ago•17 comments

Jakarta is now the biggest city in the world

https://www.axios.com/2025/11/24/jakarta-tokyo-worlds-biggest-city-population
29•skx001•12h ago•7 comments

Brain has five 'eras' with adult mode not starting until early 30s

https://www.theguardian.com/science/2025/nov/25/brain-human-cognitive-development-life-stages-cam...
196•hackernj•4h ago•176 comments

APT Rust requirement raises questions

https://lwn.net/SubscriberLink/1046841/5bbf1fc049a18947/
208•todsacerdoti•4h ago•350 comments

PRC elites voice AI-skepticism

https://jamestown.org/prc-elites-voice-ai-skepticism/
78•JumpCrisscross•22h ago•11 comments

Claude Advanced Tool Use

https://www.anthropic.com/engineering/advanced-tool-use
605•lebovic•23h ago•245 comments

Orion 1.0

https://blog.kagi.com/orion
170•STRiDEX•2h ago•100 comments

Hollywood's vision of ancient Rome is all wrong, according to Mary Beard

https://www.openculture.com/2025/11/why-your-vision-of-ancient-rome-is-all-wrong-according-to-his...
50•bookofjoe•6d ago•51 comments

Using an Array of Needles to Create Solid Knitted Shapes

https://dl.acm.org/doi/10.1145/3746059.3747759
66•PaulHoule•3d ago•17 comments

Show HN: I built an interactive HN Simulator

https://news.ysimulator.run/news
454•johnsillings•1d ago•201 comments

Three Years from GPT-3 to Gemini 3

https://www.oneusefulthing.org/p/three-years-from-gpt-3-to-gemini
336•JumpCrisscross•2d ago•268 comments

How the Atomic Tests Looked Like from Los Angeles

https://www.amusingplanet.com/2016/09/how-atomic-tests-looked-like-from-los.html
106•ohjeez•3d ago•78 comments

Pebble Watch software is now open source

https://ericmigi.com/blog/pebble-watch-software-is-now-100percent-open-source
1188•Larrikin•23h ago•212 comments

Implications of AI to schools

https://twitter.com/karpathy/status/1993010584175141038
327•bilsbie•1d ago•389 comments