From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 83674C0001 for ; Sat, 6 Mar 2021 12:58:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 5CBB3605D0 for ; Sat, 6 Mar 2021 12:58:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: 0.602 X-Spam-Level: X-Spam-Status: No, score=0.602 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=protonmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iT-_37Q0_kqy for ; Sat, 6 Mar 2021 12:58:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail-40141.protonmail.ch (mail-40141.protonmail.ch [185.70.40.141]) by smtp3.osuosl.org (Postfix) with ESMTPS id A043B6060C for ; Sat, 6 Mar 2021 12:58:36 +0000 (UTC) Date: Sat, 06 Mar 2021 12:58:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1615035513; bh=XdSXAnNI1/EbLLLm9JTRfEkOaJTUR+YKnGGA9Cog8Vw=; h=Date:To:From:Reply-To:Subject:From; b=jDH2iX68bYvdIIL/DKzhRpm44ytbUQxCfHBVqRoUZoGXKj1QPRD8Jdgn8L5l5tkcC rvxYY3w5U7H95erB6SLt/P+Rl6UM4cx74syZGUl52qt+XatMd0EgnPVp6P3wX9IQ+n xQY1LWmp50OO/r5pTjZmChwQcRoLqsOKgVU8/WWs= To: bitcoin-dev From: Patrick Shirkey Reply-To: Patrick Shirkey Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_7VAY5pbx7v9dms540hiw9kdqSB5oB6C7My0oyEo" X-Mailman-Approved-At: Sat, 06 Mar 2021 13:11:37 +0000 Subject: [bitcoin-dev] Hardening against hash reversal attacks X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 12:58:38 -0000 This is a multi-part message in MIME format. --b1_7VAY5pbx7v9dms540hiw9kdqSB5oB6C7My0oyEo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SGksCgpHaXZlbiByZWNlbnQgZGlzY3Vzc2lvbnMgYXJvdW5kIHBvc3NpYmxlIGNyYWNrcyB0byBS U0EsIEVDRFNBIGFuZCBldmVuIHNoYTI1NiB3ZSBoYXZlIGJlZW4gbG9va2luZyBhdCBwb3NzaWJs ZSBvcHRpb25zIGZvciBoYXJkZW5pbmcgQml0Y29pbiBhZ2FpbnN0IHRob3NlIHBvdGVudGlhbCBh dHRhY2sgdmVjdG9ycy4gV2hpbGUgbW9zdCBjb25zaWRlciBpdCBhIGxvdyBwcmlvcml0eSwgSU1P IGl0IGlzIGJldHRlciB0byBkaXNjdXNzIHRoaXMgaXNzdWUgdGhhbiBpZ25vcmUgaXQgZXNwZWNp YWxseSBnaXZlbiByZWNlbnQgZGV2ZWxvcG1lbnRzLiBQb3NzaWJsZSBzb2x1dGlvbnMgbWF5IG5v dCBiZSBxdWljayB0byBpbXBsZW1lbnQsIHRlc3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