HeadlinesBriefing favicon HeadlinesBriefing.com

Recovering Lost Zero Net URLs with Bitcoin Address Brute‑Force

Hacker News •
×

A Hacker News post from April 2024 details a hobbyist’s effort to restore garbled Zero Net URLs that were reduced to lowercase. Zero Net, an early decentralized web that used Bitcoin addresses as site identifiers, suffered when users mistyped or case‑folded those addresses, turning “1Lbcfr7sAHTD9CgdQo3HTMTkV8LK4ZnX71” into an unreadable string. The author asks whether the original address can be recovered from such corruption.

The post explains Bitcoin address construction: a public‑key hash, a version byte, and a four‑byte checksum derived from double‑SHA256, all encoded with base58 to avoid ambiguous characters. By enumerating every possible uppercase‑lowercase permutation of the 34‑character string and validating the checksum, the author first tried Python, which ran for nearly two hours before being aborted. Switching to Rust cut the runtime to thirty‑four seconds, confirming the correct address.

The author notes that while the brute‑force method works for well‑formed inputs, it becomes impractical for heavily corrupted strings or vanity‑generated addresses. He suggests integrating checksum verification into automated archiving pipelines to filter out false positives without exhaustive searches. The experiment demonstrates that a concise, language‑level rewrite can turn an infeasible task into a practical tool for preserving legacy Zero Net content.