[{"data":1,"prerenderedAt":552},["ShallowReactive",2],{"navigation_docs":3,"-collections-hash-collision":96,"-collections-hash-collision-surround":505,"collection-facts-hash_collision":510,"collection-puzzles-hash_collision":521},[4,48],{"title":5,"path":6,"stem":7,"children":8,"icon":47},"Guide","\u002Fguide","1.guide\u002F01.index",[9,11,15,19,23,27,31,35,39,43],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Puzzle records","\u002Fguide\u002Frecords","1.guide\u002F02.records",{"title":16,"path":17,"stem":18},"Registry","\u002Fguide\u002Fregistry","1.guide\u002F03.registry",{"title":20,"path":21,"stem":22},"Lookups and views","\u002Fguide\u002Flookups","1.guide\u002F04.lookups",{"title":24,"path":25,"stem":26},"Verification","\u002Fguide\u002Fverification","1.guide\u002F05.verification",{"title":28,"path":29,"stem":30},"Balances","\u002Fguide\u002Fbalances","1.guide\u002F06.balances",{"title":32,"path":33,"stem":34},"CLI","\u002Fguide\u002Fcli","1.guide\u002F07.cli",{"title":36,"path":37,"stem":38},"Agents","\u002Fguide\u002Fagents","1.guide\u002F08.agents",{"title":40,"path":41,"stem":42},"Custom collections","\u002Fguide\u002Fcustom","1.guide\u002F09.custom",{"title":44,"path":45,"stem":46},"Playground","\u002Fguide\u002Fplayground","1.guide\u002F10.playground","i-lucide-book-open",{"title":49,"path":50,"stem":51,"children":52,"icon":95},"Collections","\u002Fcollections","2.collections\u002F00.index",[53,55,59,63,67,71,75,79,83,87,91],{"title":54,"path":50,"stem":51},"Overview",{"title":56,"path":57,"stem":58},"Bitcoin puzzle transaction","\u002Fcollections\u002Fb1000","2.collections\u002F01.b1000",{"title":60,"path":61,"stem":62},"RushWallet contest","\u002Fcollections\u002Frushwallet","2.collections\u002F02.rushwallet",{"title":64,"path":65,"stem":66},"Zden's puzzles","\u002Fcollections\u002Fzden","2.collections\u002F03.zden",{"title":68,"path":69,"stem":70},"Arweave bounties","\u002Fcollections\u002Farweave","2.collections\u002F04.arweave",{"title":72,"path":73,"stem":74},"WarpWallet challenges","\u002Fcollections\u002Fwarp","2.collections\u002F05.warp",{"title":76,"path":77,"stem":78},"Hash collision bounties","\u002Fcollections\u002Fhash_collision","2.collections\u002F06.hash_collision",{"title":80,"path":81,"stem":82},"Ballet wallets","\u002Fcollections\u002Fballet","2.collections\u002F07.ballet",{"title":84,"path":85,"stem":86},"Bitimage","\u002Fcollections\u002Fbitimage","2.collections\u002F08.bitimage",{"title":88,"path":89,"stem":90},"Bitaps mnemonic challenge","\u002Fcollections\u002Fbitaps","2.collections\u002F09.bitaps",{"title":92,"path":93,"stem":94},"GSMG.io puzzle","\u002Fcollections\u002Fgsmg","2.collections\u002F10.gsmg","i-lucide-layers",{"id":97,"title":76,"body":98,"description":497,"extension":498,"links":499,"meta":500,"navigation":502,"path":77,"seo":503,"stem":78,"__hash__":504},"docs\u002F2.collections\u002F06.hash_collision.md",{"type":99,"value":100,"toc":491},"minimark",[101,105,110,119,122,126,133,433,457,460,477,481,484,487],[102,103],"collection-facts",{"collection":104},"hash_collision",[106,107,109],"h2",{"id":108},"the-puzzle","The puzzle",[111,112,113,114,118],"p",{},"In September 2013 Peter Todd funded six P2SH addresses. Five pay out to anyone with a hash collision: two different preimages, same value under SHA-1, SHA-256, RIPEMD-160, HASH160 or HASH256. The sixth pays for an ",[115,116,117],"code",{},"OP_ABS"," quirk, no collision needed. It's a bounty on the hash function itself. The prize sits on chain where anyone can top it up, and people did.",[111,120,121],{},"SHA-1 fell in 2017, when the SHAttered collision was published. The bounty was spent in 2023, and the record dates the claim to that transaction. The other four hash bounties are still funded. Nobody has a SHA-256 collision. And if you have one, there's a faster way to make money than 0.28 BTC.",[106,123,125],{"id":124},"what-the-records-carry","What the records carry",[111,127,128,129,132],{},"These are the only ",[115,130,131],{},"p2sh"," records in the dataset, and the only ones with a redeem script:",[134,135,141],"pre",{"className":136,"code":137,"filename":138,"language":139,"meta":140,"style":140},"language-ts shiki shiki-themes github-light github-light vitesse-dark","export const hashCollisionPuzzleSha1 = bitcoinPuzzle({\n  id: \"hash_collision\u002Fsha1\",\n  address: p2sh(\n    \"37k7toV1Nv4DfmQbmZ8KuZDQCYK9x5KpzP\",\n    \"4266fc6f2c2861d7fe229b279a79803afca7ba34\",\n    redeemScript(\"4266fc6f2c2861d7fe229b279a79803afca7ba34\", \"6e879169a77ca787\"),\n  ),\n  sourceUrl: \"https:\u002F\u002Fbitcointalk.org\u002Findex.php?topic=293382.0\",\n  startedAt: \"2013-09-13 04:48:29\",\n  status: Status.Claimed,\n  prize: 2.48,\n  solvedAt: \"2023-02-22 23:00:49\",\n  transactions: [\n    funding(\"09de…8a83\", \"2013-09-13 04:48:29\", 0.01),\n    claim(\"9ec2…14e0\", \"2023-02-22 23:00:49\", 0.000096),\n  ],\n});\n","src\u002Fcollections\u002Fhash-collision\u002Fsha1.ts","ts","",[115,142,143,172,195,208,221,233,261,267,284,301,321,335,352,361,391,421,427],{"__ignoreMap":140},[144,145,148,152,156,160,164,168],"span",{"class":146,"line":147},"line",1,[144,149,151],{"class":150},"sds8u","export",[144,153,155],{"class":154},"sO_1p"," const",[144,157,159],{"class":158},"sHhh0"," hashCollisionPuzzleSha1",[144,161,163],{"class":162},"sLuFV"," =",[144,165,167],{"class":166},"sTnI0"," bitcoinPuzzle",[144,169,171],{"class":170},"s14qF","({\n",[144,173,175,179,182,186,190,192],{"class":146,"line":174},2,[144,176,178],{"class":177},"sC822","  id",[144,180,181],{"class":170},": ",[144,183,185],{"class":184},"s2tGe","\"",[144,187,189],{"class":188},"skmWX","hash_collision\u002Fsha1",[144,191,185],{"class":184},[144,193,194],{"class":170},",\n",[144,196,198,201,203,205],{"class":146,"line":197},3,[144,199,200],{"class":177},"  address",[144,202,181],{"class":170},[144,204,131],{"class":166},[144,206,207],{"class":170},"(\n",[144,209,211,214,217,219],{"class":146,"line":210},4,[144,212,213],{"class":184},"    \"",[144,215,216],{"class":188},"37k7toV1Nv4DfmQbmZ8KuZDQCYK9x5KpzP",[144,218,185],{"class":184},[144,220,194],{"class":170},[144,222,224,226,229,231],{"class":146,"line":223},5,[144,225,213],{"class":184},[144,227,228],{"class":188},"4266fc6f2c2861d7fe229b279a79803afca7ba34",[144,230,185],{"class":184},[144,232,194],{"class":170},[144,234,236,239,242,244,246,248,251,253,256,258],{"class":146,"line":235},6,[144,237,238],{"class":166},"    redeemScript",[144,240,241],{"class":170},"(",[144,243,185],{"class":184},[144,245,228],{"class":188},[144,247,185],{"class":184},[144,249,250],{"class":170},", ",[144,252,185],{"class":184},[144,254,255],{"class":188},"6e879169a77ca787",[144,257,185],{"class":184},[144,259,260],{"class":170},"),\n",[144,262,264],{"class":146,"line":263},7,[144,265,266],{"class":170},"  ),\n",[144,268,270,273,275,277,280,282],{"class":146,"line":269},8,[144,271,272],{"class":177},"  sourceUrl",[144,274,181],{"class":170},[144,276,185],{"class":184},[144,278,279],{"class":188},"https:\u002F\u002Fbitcointalk.org\u002Findex.php?topic=293382.0",[144,281,185],{"class":184},[144,283,194],{"class":170},[144,285,287,290,292,294,297,299],{"class":146,"line":286},9,[144,288,289],{"class":177},"  startedAt",[144,291,181],{"class":170},[144,293,185],{"class":184},[144,295,296],{"class":188},"2013-09-13 04:48:29",[144,298,185],{"class":184},[144,300,194],{"class":170},[144,302,304,307,309,313,316,319],{"class":146,"line":303},10,[144,305,306],{"class":177},"  status",[144,308,181],{"class":170},[144,310,312],{"class":311},"s9qSu","Status",[144,314,315],{"class":170},".",[144,317,318],{"class":311},"Claimed",[144,320,194],{"class":170},[144,322,324,327,329,333],{"class":146,"line":323},11,[144,325,326],{"class":177},"  prize",[144,328,181],{"class":170},[144,330,332],{"class":331},"sw1C9","2.48",[144,334,194],{"class":170},[144,336,338,341,343,345,348,350],{"class":146,"line":337},12,[144,339,340],{"class":177},"  solvedAt",[144,342,181],{"class":170},[144,344,185],{"class":184},[144,346,347],{"class":188},"2023-02-22 23:00:49",[144,349,185],{"class":184},[144,351,194],{"class":170},[144,353,355,358],{"class":146,"line":354},13,[144,356,357],{"class":177},"  transactions",[144,359,360],{"class":170},": [\n",[144,362,364,367,369,371,374,376,378,380,382,384,386,389],{"class":146,"line":363},14,[144,365,366],{"class":166},"    funding",[144,368,241],{"class":170},[144,370,185],{"class":184},[144,372,373],{"class":188},"09de…8a83",[144,375,185],{"class":184},[144,377,250],{"class":170},[144,379,185],{"class":184},[144,381,296],{"class":188},[144,383,185],{"class":184},[144,385,250],{"class":170},[144,387,388],{"class":331},"0.01",[144,390,260],{"class":170},[144,392,394,397,399,401,404,406,408,410,412,414,416,419],{"class":146,"line":393},15,[144,395,396],{"class":166},"    claim",[144,398,241],{"class":170},[144,400,185],{"class":184},[144,402,403],{"class":188},"9ec2…14e0",[144,405,185],{"class":184},[144,407,250],{"class":170},[144,409,185],{"class":184},[144,411,347],{"class":188},[144,413,185],{"class":184},[144,415,250],{"class":170},[144,417,418],{"class":331},"0.000096",[144,420,260],{"class":170},[144,422,424],{"class":146,"line":423},16,[144,425,426],{"class":170},"  ],\n",[144,428,430],{"class":146,"line":429},17,[144,431,432],{"class":170},"});\n",[111,434,435,437,438,441,442,437,445,448,449,452,453,456],{},[115,436,255],{}," is ",[115,439,440],{},"OP_2DUP OP_EQUAL OP_NOT OP_VERIFY OP_SHA1 OP_SWAP OP_SHA1 OP_EQUAL",". Two inputs, not equal to each other, equal after SHA-1. There's no private key to publish, so ",[115,443,444],{},"hasPrivateKey()",[115,446,447],{},"false"," on all six and ",[115,450,451],{},"verifyPuzzle"," answers ",[115,454,455],{},"unavailable",". A public key isn't a thing here either. A P2SH address exposes a script, not a key, and the data gate exempts this collection from the rule that a claimed puzzle needs one.",[106,458,312],{"id":459},"status",[111,461,462,465,466,469,470,472,473,476],{},[115,463,464],{},"claimed",", not ",[115,467,468],{},"solved",", for SHA-1 and ",[115,471,117],{},". A collision isn't a key anyone could post to the thread. ",[115,474,475],{},"peter_todd"," is an alias for this collection, from the days the dataset was keyed by author.",[106,478,480],{"id":479},"every-puzzle","Every puzzle",[111,482,483],{},"One page each: the record, the transactions and the live balance.",[485,486],"collection-puzzles",{"collection":104},[488,489,490],"style",{},"html pre.shiki code .sds8u, html code.shiki .sds8u{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#4D9375}html pre.shiki code .sO_1p, html code.shiki .sO_1p{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#CB7676}html pre.shiki code .sHhh0, html code.shiki .sHhh0{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#BD976A}html pre.shiki code .sLuFV, html code.shiki .sLuFV{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#666666}html pre.shiki code .sTnI0, html code.shiki .sTnI0{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#80A665}html pre.shiki code .s14qF, html code.shiki .s14qF{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#666666}html pre.shiki code .sC822, html code.shiki .sC822{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#B8A965}html pre.shiki code .s2tGe, html code.shiki .s2tGe{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#C98A7D77}html pre.shiki code .skmWX, html code.shiki .skmWX{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#C98A7D}html pre.shiki code .s9qSu, html code.shiki .s9qSu{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#BD976A}html pre.shiki code .sw1C9, html code.shiki .sw1C9{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#4C9A91}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":140,"searchDepth":174,"depth":174,"links":492},[493,494,495,496],{"id":108,"depth":174,"text":109},{"id":124,"depth":174,"text":125},{"id":459,"depth":174,"text":312},{"id":479,"depth":174,"text":480},"Peter Todd's P2SH bounties from 2013. Five pay for a hash collision and one for an OP_ABS quirk. SHA-1 fell in 2017 and was spent in 2023. Four still stand.","md",null,{"icon":501},"i-lucide-hash",true,{"title":76,"description":497},"vCVve9tAXBP4v-uXl8zX1AQfXFjEJV5ykHVDqhPim5Q",[506,508],{"title":72,"path":73,"stem":74,"description":507,"children":-1},"Keybase's scrypt brainwallet with six funded challenges from 2013 to 2016. Four solved and two expired with the keys published afterwards. 41.85 BTC in total.",{"title":80,"path":81,"stem":82,"description":509,"children":-1},"Three Ballet cards with BIP38 keys printed on them. One decrypted for 0.0011 BTC. Two hold a bitcoin each. One waits on a passphrase and one on its encrypted key.",{"key":104,"author":511,"authorUrl":279,"total":235,"statuses":512,"chains":513,"prize":515,"unsolvedPrize":517,"withPubkey":519,"withKey":519,"firstStarted":296,"lastStarted":520},"Peter Todd",{"claimed":174,"unsolved":210},[514],"bitcoin",{"BTC":516},3.07465,{"BTC":518},0.59365,0,"2013-09-13 05:59:09",{"numeric":522,"rows":523},false,[524,527,533,538,543,547],{"id":189,"name":525,"status":464,"prize":526,"address":216,"pubkey":522,"key":522,"bits":-1},"sha1","2.48 BTC",{"id":528,"name":529,"status":530,"prize":531,"address":532,"pubkey":522,"key":522,"bits":-1},"hash_collision\u002Fsha256","sha256","unsolved","0.277343 BTC","35Snmmy3uhaer2gTboc81ayCip4m9DT4ko",{"id":534,"name":535,"status":530,"prize":536,"address":537,"pubkey":522,"key":522,"bits":-1},"hash_collision\u002Fripemd160","ripemd160","0.115769 BTC","3KyiQEGqqdb4nqfhUzGKN6KPhXmQsLNpay",{"id":539,"name":540,"status":530,"prize":541,"address":542,"pubkey":522,"key":522,"bits":-1},"hash_collision\u002Fhash160","hash160","0.100269 BTC","39VXyuoc6SXYKp9TcAhoiN1mb4ns6z3Yu6",{"id":544,"name":545,"status":530,"prize":541,"address":546,"pubkey":522,"key":522,"bits":-1},"hash_collision\u002Fhash256","hash256","3DUQQvz4t57Jy7jxE86kyFcNpKtURNf1VW",{"id":548,"name":549,"status":464,"prize":550,"address":551,"pubkey":522,"key":522,"bits":-1},"hash_collision\u002Fop_abs","op_abs","0.001 BTC","3QsT6Sast6ghfsjZ9VJj9u8jkM2qTfDgHV",1789734790696]