# Bitcoin Puzzle #71 · Independent verification cross-check **No solution was found.** The two public explorers agreed that the challenge funds were unspent. The computational experiment used 128 locally generated, unfunded fixtures. No live-target private-key search or candidate testing was performed. ## Question and assumptions Can independent cryptographic libraries agree on the public-key bytes and full 20-byte P2PKH hash for a known synthetic scalar? Can they catch a wrong serialization, a different scalar, and a one-bit hash error? The experiment uses known inputs so that agreement and rejection can be checked separately. The chain reads establish public status and parameters. ## Public challenge and chain status - **Challenge record.** On 28 December 2015, at the displayed forum time of 16:12:47, Bulista opened the public thread *Bitcoin puzzle transaction ~32 BTC prize to who solves it*, linked the January 2015 funding transaction and asked for ideas. This is a contemporary public invitation from the person who reported discovering the transaction. The post is not authenticated as the funder's. On 27 April 2017, at the displayed forum time of 06:41:08, `saatoshi_rising` claimed authorship and described consecutive deterministic-wallet keys masked to set the difficulty. Forum timestamps are reproduced as displayed because the source does not label the timezone. The subsequent 2017 top-up corroborates the stated funding plan without proving who wrote the post. [Original thread](https://bitcointalk.org/index.php?topic=1306983.0) · [Claim of authorship, post #248](https://bitcointalk.org/index.php?topic=1306983.240) - **Target and bounds.** The target is `1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU`, with the published inclusive interval `0x400000000000000000` through `0x7fffffffffffffffff`. Exact integer arithmetic gives `2^70` through `2^71 - 1`, inclusive, or 1,180,591,620,717,411,303,424 scalars. A local Base58Check decode validated version `00` and checksum `a22a3aab` and recovered `f6f5431d25bbf7b12e8add9af5e3475c44a0a5b8`. This matches the 20-byte payload in the original funding script. The interval is a published challenge parameter and cannot be checked from the script itself. [Catalog snapshot dated 2 October 2026](https://lotterypuzzle.org/puzzles/71/) · [Original transaction](https://mempool.space/api/tx/08389f34c98c606322740c0be6a7125d9860bb8d5cb182c02f98461e5fa6cd15) - **Observed status.** At 07:34 UTC on 23 November 2026, each explorer's tip hash was stable across its reads. Both returned height **977165**, hash `000000000000000000014641e7b8d308b6a5eaec5772d150ceed4a4f3720e600` and the same set of 73 confirmed UTXOs, totaling **710,196,696 sat (7.10196696 BTC)**. Both address summaries showed zero confirmed spends and zero mempool activity for the address. This supports **publicly unsolved** as of the snapshot. A private discovery or off-chain public-key disclosure cannot be excluded by address history. [Tip block](https://mempool.space/api/block/000000000000000000014641e7b8d308b6a5eaec5772d150ceed4a4f3720e600) · [Mempool address summary](https://mempool.space/api/address/1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU) · [Blockstream address summary](https://blockstream.info/api/address/1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU) · [Mempool UTXOs](https://mempool.space/api/address/1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU/utxo) · [Blockstream UTXOs](https://blockstream.info/api/address/1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU/utxo) All three principal outputs have script `76a914f6f5431d25bbf7b12e8add9af5e3475c44a0a5b888ac`. Together they total 7.1 BTC. The other 70 outputs total 196,696 sat. | Outpoint | Satoshis | Block | Block time (UTC) | |---|---:|---:|---| | [08389f34c98c606322740c0be6a7125d9860bb8d5cb182c02f98461e5fa6cd15:70](https://mempool.space/api/tx/08389f34c98c606322740c0be6a7125d9860bb8d5cb182c02f98461e5fa6cd15) | 7,100,000 | 339085 | 2015-01-15 18:07:14 | | [5d45587cfd1d5b0fb826805541da7d94c61fe432259e68ee26f4a04544384164:19](https://mempool.space/api/tx/5d45587cfd1d5b0fb826805541da7d94c61fe432259e68ee26f4a04544384164) | 63,900,000 | 475240 | 2017-07-11 05:00:53 | | [12f34b58b04dfb0233ce889f674781c0e0c7ba95482cca469125af41a78d13b3:5](https://mempool.space/api/tx/12f34b58b04dfb0233ce889f674781c0e0c7ba95482cca469125af41a78d13b3) | 639,000,000 | 785620 | 2023-04-16 06:29:48 | **Designated recipient.** The provided `bc1pg6luxm9s4qq65lge4l6ual7xwdw5v85eh675cmrl5we0ht3vpfhswxu0cx` passed a local Bech32m decode. The lowercase mainnet HRP was `bc`, the checksum residue was `0x2bc830a3`, the witness version was 1, and the program was 32 bytes with valid zero padding. Replacing the last character with `q` failed the checksum. This validates the encoding of a mainnet Taproot recipient and does not establish control. No transaction was created or broadcast. [BIP 350, assigned 2020-12-16](https://raw.githubusercontent.com/bitcoin/bips/master/bip-0350.mediawiki) · [BIP 341](https://raw.githubusercontent.com/bitcoin/bips/master/bip-0341.mediawiki) ## Executed experiment Node's OpenSSL backend generated compressed and uncompressed public-key bytes directly. Libgcrypt independently multiplied the generator, exported affine coordinates and serialized them in Python. Each backend computed its own SHA-256 followed by RIPEMD-160 over the serialized bytes. Byte-level comparisons covered both forms and both compressed parity tags. The synthetic fixtures included both endpoints of `[256, 511]` and 126 distinct seeded draws from its interior. The wrong-scalar controls used a different fixture from the same sample. All **256** positive cases agreed on the entire serialized key and hash in each run. All **768** negative comparisons rejected in each run, with 256 wrong-form, 256 wrong-scalar and 256 one-bit hash mutations. The hypothesis that the two encodings could be interchanged in this verifier failed on every wrong-form control. These are deterministic correctness checks, so the repeated runs measure timing variability and do not add independent fixtures. No pattern hypothesis or prefix-based ranking was evaluated. Address prefixes provide no evidence of numerical proximity between scalars. [Node.js crypto API, v24.21.0](https://nodejs.org/download/release/v24.21.0/docs/api/crypto.html) · [Libgcrypt EC API](https://www.gnupg.org/documentation/manuals/gcrypt/EC-functions.html) Measured on one x86-64 CPU execution path, reported as Intel Xeon Skylake, using Python 3.14.4, Libgcrypt 1.12.0 and Node 24.21.0 with OpenSSL 3.5.8. No GPU or downloaded dependencies were used. Library columns time the complete 128-fixture batch per backend. Combined wall time also includes the Node subprocess startup, output parsing and comparisons. | Run | Node/OpenSSL (ms) | Python/Libgcrypt (ms) | Combined wall (ms) | |---|---:|---:|---:| | 1 | 93.900 | 14.196 | 218.954 | | 2 | 92.758 | 11.682 | 210.468 | | 3 | 121.709 | 15.432 | 247.334 | ### Reproduction Save the following block as `crosscheck37.py` and run `python3 crosscheck37.py` with Node on PATH and Libgcrypt available as `libgcrypt.so.20`. It generates its own fixtures and needs no network. ```python import ctypes as c import json import random import subprocess from time import perf_counter lib = c.CDLL("libgcrypt.so.20") P, U, I, S, C = c.c_void_p, c.c_uint, c.c_int, c.c_size_t, c.c_char_p def bind(name, result, *args): fn = getattr(lib, "gcry_" + name) fn.restype, fn.argtypes = result, args return fn version = bind("check_version", C, C)(None).decode() new_context = bind("mpi_ec_new", U, c.POINTER(P), P, C) get_point = bind("mpi_ec_get_point", P, C, P, I) new_point = bind("mpi_point_new", P, U) new_mpi = bind("mpi_new", P, U) set_ui = bind("mpi_set_ui", P, P, U) mul = bind("mpi_ec_mul", None, P, P, P, P) affine = bind("mpi_ec_get_affine", I, P, P, P, P) export = bind("mpi_print", U, I, P, S, c.POINTER(S), P) hash_id = bind("md_map_name", I, C) hash_buffer = bind("md_hash_buffer", None, I, P, C, S) ctx = P() assert new_context(c.byref(ctx), None, b"secp256k1") == 0 g = get_point(b"g", ctx, 1) point = new_point(0) scalar, x, y = (new_mpi(256) for _ in range(3)) assert all((g, point, scalar, x, y)) sha, ripe = (hash_id(name) for name in (b"SHA256", b"RIPEMD160")) assert sha and ripe def coordinate(mpi): buf, written = c.create_string_buffer(32), S() assert export(5, buf, len(buf), c.byref(written), mpi) == 0 return buf.raw[:written.value].rjust(32, b"\0") def digest(algorithm, size, data): buf = c.create_string_buffer(size) hash_buffer(algorithm, buf, data, len(data)) return buf.raw def gcrypt_fixture(value): set_ui(scalar, value) mul(point, scalar, g, ctx) assert affine(x, y, point, ctx) == 0 xb, yb = coordinate(x), coordinate(y) keys = (bytes([2 + (yb[-1] & 1)]) + xb, b"\x04" + xb + yb) return [[key.hex(), digest(ripe, 20, digest(sha, 32, key)).hex()] for key in keys] node = r""" const {createECDH, createHash} = require('node:crypto'); const fs = require('node:fs'); const values = JSON.parse(fs.readFileSync(0, 'utf8')); const start = process.hrtime.bigint(); const rows = values.map(value => { const scalar = Buffer.alloc(32); scalar.writeUInt32BE(value, 28); const ecdh = createECDH('secp256k1'); ecdh.setPrivateKey(scalar); return ['compressed', 'uncompressed'].map(format => { const key = ecdh.getPublicKey(undefined, format); const sha = createHash('sha256').update(key).digest(); const hash = createHash('ripemd160').update(sha).digest('hex'); return [key.toString('hex'), hash]; }); }); console.log(JSON.stringify([Number(process.hrtime.bigint() - start) / 1e6, rows])); """ rng = random.Random(37) values = [256, 511, *rng.sample(range(257, 511), 126)] wall = perf_counter() node_ms, node_rows = json.loads(subprocess.check_output( ["node", "-e", node], input=json.dumps(values), text=True)) start = perf_counter() gcrypt_rows = [gcrypt_fixture(value) for value in values] gcrypt_ms = (perf_counter() - start) * 1000 assert node_rows == gcrypt_rows assert {row[0][0][:2] for row in node_rows} == {"02", "03"} for i, row in enumerate(node_rows): for form in range(2): expected = row[form][1] assert gcrypt_rows[i][form][1] == expected assert gcrypt_rows[i][1-form][1] != expected assert gcrypt_rows[(i+1) % len(values)][form][1] != expected flipped = (int(expected, 16) ^ 1).to_bytes(20, "big").hex() assert gcrypt_rows[i][form][1] != flipped print(f"Libgcrypt {version}; {len(values)} fixtures; 256 positives, 768 negatives") print(f"Node {node_ms:.3f} ms; Libgcrypt {gcrypt_ms:.3f} ms;" f" combined wall {(perf_counter()-wall)*1000:.3f} ms") for name, pointer in (("mpi_release", scalar), ("mpi_release", x), ("mpi_release", y), ("mpi_point_release", point), ("mpi_point_release", g), ("ctx_release", ctx)): bind(name, None, P)(pointer) ``` ## Limitations and next experiment **Analysis only.** The dual-library comparison needs a scalar and expected hash and measures correctness for already specified inputs. The published challenge supplies the hash and interval. Standard interval discrete-log algorithms such as Pollard kangaroo and baby-step giant-step require the actual curve point, which the funding scripts and observed address history do not supply. No full-scale throughput figure is inferred from the toy timings because the scalar sizes, API overhead and workload differ. The experiment also leaves Base58Check parsing outside the independent-library comparison. [Puzzle catalog, address-only classification](https://lotterypuzzle.org/puzzles/71/) The best next experiment is an offline blind test of the verifier using a third fixture generator and held-out synthetic scalars wide enough to exercise the 64- and 71-bit serialization boundaries. Include leading-zero coordinates and malformed Base58Check addresses. Require both backends to reproduce all valid full hashes and reject every deliberately corrupted fixture before reporting the result.