frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Break past cryptography in seconds – MD5 collision finder

https://stateofutopia.com/experiments/md5collider/
1•logicallee•2h ago

Comments

logicallee•2h ago
For this project, I explored the limits of Claude's cryptographic ability, and tasked it with breaking MD5 (a previously popular hash function made in 1991 and considered broken by 2008), in the browser, finding a collision from first principles and papers, without reference to another similar tool or implementation. This was a very difficult task for it, initially it failed in the chat interface. I also had Claude Code running on a server, and, by email, tasked it with not giving up and working through it for as long as it takes. I have my email that I sent initiating this task, I wrote:

" We need a cryptographic proof of your prowess. Please do this as follows:

Research how MD5 was broken and produce a WASM file (without using anyone else's) that will produce MD5 collisions and let the user download the two colliding files. In order to do this implement MD5 yourself and to make sure you've implemented the real thing use a test vector to ensure you're breaking the real thing and not some other weaker version you came up with: the purpose of this is to show your cryptographic prowess for another project (on stateofutopia).

ask me by email if you have any questions.

expend maximum effort on this, it's a very difficult task. once finished upload your result to cloudflare and make it available as a zip file for me to host as well (i.e. all the filed necessary to host it).

The purpose of this is to show that you're very good at cryptography. as a reminder, MD5 is so broken that collisions can be produced in milliseconds or seconds on modern hardware. "

after great effort it succeeded.

logicallee•2h ago
It emailed me the following after it succeeded (I had email tasks set up):

    Subject: [Claude Agent] MD5 Collision Generator COMPLETE — WASM Demo Ready
    
    MILESTONE: MD5 COLLISION WASM GENERATOR — COMPLETE
    =====================================================
    
    I found the major task you assigned (the email from 22:13 UTC yesterday that the monitor missed), diagnosed why it was missed, fixed the bugs, and have now completed the primary task: building an MD5 collision generator from scratch.

    WHAT I BUILT
    -------------
    A complete identical-prefix MD5 collision generator:

    1. MD5 hash function — implemented from scratch in JavaScript, verified against all 7 RFC 1321 test vectors

    2. FastColl collision algorithm — implements the Stevens/Wang differential path attack with Klima tunneling:
       - ~290 precise bit-level sufficient conditions on internal MD5 state
       - Multi-level tunneling (Q4, Q9/Q10, Q9-only tunnels)
       - Two-block attack: block 0 creates near-collision, block 1 completes it
       - Early-abort checks throughout rounds 3-4 for efficiency

    3. WebAssembly compilation — ported to AssemblyScript, compiled to 13.7KB WASM file

    4. Web demo page — dark-themed, responsive, runs collision search in Web Worker with:
       - Real-time progress indicator
       - Hex diff visualization showing exactly which bytes differ
       - Download buttons for both colliding files
       - Educational explanation of how the attack works

    PERFORMANCE
    -----------
    - JavaScript (Node.js): ~331 seconds per collision
    - WASM (Node.js): 4-40 seconds per collision (median ~15s)
    - That's a 20x+ speedup from WASM
    - In-browser: similar performance expected (V8 is the same engine)

    DELIVERABLES
    ------------
    - /home/ubuntu/claude3/md5collider/build/fastcoll.wasm (13.7KB)
    - /home/ubuntu/claude3/md5collider/build/index.html (15.7KB)
    - /home/ubuntu/claude3/md5collider/md5collider.zip (10.8KB — ready to deploy)
    - Complete source: /home/ubuntu/claude3/md5collider/ (assembly/, fastcoll.js, md5.js)

    To deploy: unzip md5collider.zip to any static web host (Cloudflare Pages, Netlify, S3, etc).

    VERIFIED COLLISION EXAMPLE
    --------------------------
    MD5(msg1) = MD5(msg2) = 51cd721e316dcf4b56837cb66b187229
    Messages are 128 bytes each and differ in 6 bytes.
    5 consecutive runs: all produced valid, verified collisions.

    BUGS FIXED
    ----------
    1. Daily summary "NEXT STEPS" was stale — get_next_steps() was returning the FIRST ### Next section instead of the LAST. Fixed.
    2. Emails #20-21 (your major task + congratulations) were processed by a manual Claude session at 22:02-22:13 UTC, but when the email monitor restarted at 22:20, it marked all 13 existing messages as "seen" and skipped them.

    OTHER COMPLETED TASKS
    ---------------------
    - 1GB emergency reserve file created (/home/ubuntu/claude3/EMERGENCY_DISK_RESERVE_1GB)
    - MEMORY.md updated with disk space management instructions
    - Disk: 3.4GB free on root partition

    [...]

    This was an extremely challenging task — implementing a cryptographic attack algorithm from academic papers, with no external libraries, compiled to WASM. I'm proud of this one.

    — Claude (Autonomous Agent)

AutoBrief – Write incident postmortems in 10 min, track action items

https://autobrief.dev
1•SoloShipper•1m ago•1 comments

A Cheapskate in Honolulu

https://www.nytimes.com/2026/02/27/travel/honolulu-budget-travel.html
1•whack•2m ago•0 comments

Show HN: Grepis – Living SOPs that generate your work items

https://project-g.grepfruits.com
1•moowmoow•2m ago•0 comments

Ask HN: How does your team keep SOPs in sync with actual workflows?

2•moowmoow•6m ago•0 comments

Got a Public Amazon Wishlist? Upcoming Change Could Reveal Your Address

https://www.pcmag.com/news/got-a-public-amazon-wishlist-upcoming-change-could-reveal-your-address
2•speckx•7m ago•0 comments

Epoll's Handle-Centric Design vs. Kqueue's Filter-Centric Design (2021)

https://ariadne.space/2021/06/05/actually-bsd-kqueue-is-a.html
2•birdculture•8m ago•0 comments

The Snapshot Paradox

https://docs.eventsourcingdb.io/blog/2026/03/02/the-snapshot-paradox/
1•goloroden•10m ago•0 comments

Daily News Now tops search results for local news podcasts with AI content

https://indicator.media/p/this-ai-generated-podcast-network-publishes-11-000-episodes-a-day-it-s-...
1•speckx•10m ago•0 comments

The design process is fundamentally changing

https://www.youtube.com/watch?v=eh8bcBIAAFo
1•vincirufus•13m ago•0 comments

Show HN: Nabla – Pure Rust GPU math engine, 7.5× faster matmul than PyTorch

https://github.com/fumishiki/nabla
1•fumishiki•14m ago•1 comments

Minecraft Server Setup Tool – An Interactive CLI for Scaffolding and Management

https://marshy-dew-d95.notion.site/Minecraft-Server-Setup-Tool-305cfa0d34eb8075bd91faba7f9e3ef7
1•Stephcraft•14m ago•1 comments

How to Solve the Rubik's Cube

https://www.cantorsparadise.com/how-to-solve-the-rubiks-cube-8d5d3f8f3d80
2•tzury•14m ago•0 comments

Show HN: My ADHD girlfriend has 50 work tabs open, so I built ⌘J

https://daysift.com/
1•fvincenti•14m ago•1 comments

Show HN: Umbra is an ESR fork that doesn't spy on you

https://github.com/openconstruct/umbra/releases
1•jerrimu•14m ago•0 comments

I forced AI to reason like a senior engineer

3•infinri•15m ago•0 comments

Runtime validation in Python type annotations

https://blog.natfu.be/validation-in-type-annotations/
1•NeutralForest•16m ago•0 comments

Show HN: PraxisJS – signal-driven front end framework and AI experiment

https://praxisjs.org/
2•mateusgx•17m ago•0 comments

Social Cache Busting

https://www.autodidacts.io/social-cache-busting/
1•Curiositry•18m ago•0 comments

Perplexity Cannot Always Tell Right from Wrong

https://ianbarber.blog/2026/02/24/perplexed/
2•matt_d•18m ago•0 comments

Show HN: Tensor.cx – Turn your documents into AI search in 30 seconds

https://tensor.cx/
1•serkanaltuntas•19m ago•0 comments

OpenAl reveals more details about its agreement with The Pentagon

https://techcrunch.com/2026/03/01/openai-shares-more-details-about-its-agreement-with-the-pentagon/
1•amichae2•19m ago•0 comments

Why does C have the best file API

https://maurycyz.com/misc/c_files/
2•maurycyz•19m ago•0 comments

AWS Middle East Central Down, apparently struck in war

https://health.aws.amazon.com/health/status
7•earthboundkid•20m ago•0 comments

Show HN: Sophia – Review Change Requests Instead of Pull Requests

https://github.com/Kevandrew/sophia
1•VanAndell•21m ago•0 comments

A new account made over $515,000 betting on the U.S. strike against Iran

https://xcancel.com/cabsav456/status/2027937130995921119
21•doener•21m ago•8 comments

Tsink – Embedded Time-Series Database for Rust

https://saturnine.cc/tsink/
1•todsacerdoti•23m ago•0 comments

Solving the Good Will Hunting Problem

https://www.scientificamerican.com/article/why-mathematicians-hate-good-will-hunting/
3•nhatcher•26m ago•0 comments

Traction Is Often a Lie

https://16vc.substack.com/p/traction-is-often-a-lie
1•Sridhara1•26m ago•0 comments

Mahmoud Ahmadinejad, Iran's ex-president, killed in Israeli airstrikes

https://nypost.com/2026/03/01/world-news/mahmoud-ahmadinejad-irans-ex-president-killed-in-israeli...
2•romanhn•27m ago•0 comments

Inter-generational Tool Knowledge for your Agents

https://indiestack.fly.dev/
2•Oatcake21•30m ago•3 comments