The Cryptonomics™
  • Home
  • Blockchain
  • Bitcoin
  • Ethereum
  • NFTS
  • Altcoin
  • Mining
  • Consulting
Reading: script – Does SHA-256d’s fastened second-hash padding create measurable inner construction past random oracle habits?
Share
Please enter CoinGecko Free Api Key to get this plugin works.
The Cryptonomics™The Cryptonomics™
Font ResizerAa
Search
  • Home
  • Blockchain
  • Bitcoin
  • Ethereum
  • NFTS
  • Altcoin
  • Mining
  • Consulting
Follow US
  • About Us
  • Advertising Solutions
  • Privacy
  • Terms
  • Advertise
Copyright © MetaMedia™ Capital Inc, All right reserved
The Cryptonomics™ > Bitcoin > script – Does SHA-256d’s fastened second-hash padding create measurable inner construction past random oracle habits?
Bitcoin

script – Does SHA-256d’s fastened second-hash padding create measurable inner construction past random oracle habits?

admin
Last updated: May 1, 2026 2:09 am
admin Published May 1, 2026
Share
script – Does SHA-256d’s fastened second-hash padding create measurable inner construction past random oracle habits?


Bitcoin safety by no means trusted resistance to length-extension as a result of preimages are public anyway, and customary perception is that the double was used only for defense-in-depth.

I do not suppose Bitcoin ever makes use of hashes in a approach that might undergo from size extensions, however I assume Satoshi went with the secure alternative of stopping it in all places.

To keep away from this property, Ferguson and Schneier advised utilizing SHA256d = SHA256(SHA256(x)) which avoids length-extension assaults. This development has some minor weaknesses (not related to bitcoin), so I would not advocate it for brand spanking new protocols, and would use HMAC with fixed key, or truncated SHA512 as an alternative.

https://bitcoin.stackexchange.com/a/8461/137501


The paper’s discovery is fascinating in that it will transfer SHA256d additional away from a random oracle which has implications for secondary on-chain makes use of (e.g. in sensible contracts or as 32-byte P2SH wrapper).

Apparently, Bitcoin builders did not suppose that securing in opposition to length-extension issues in order that they went with plain SHA256 for SegWit P2WSH handle hashes.

Later, Bitcoin Money builders selected SHA256d for P2SH32, thus sustaining consistency with the remainder of the protocol, and unlinkability between never-spent-from addresses.

Readers is likely to be all in favour of some older associated work, that has already proven a weak point in opposition to an unique use-case (Dodis et al., 2013):

We exhibit a cryptographic setting, known as mutual proofs of labor, by which the highlighted construction of H2 will be exploited. In mutual proofs of labor, two events show to one another that they’ve computed some asserted quantity of computational effort. This process is impressed by, and much like, shopper puzzles [20, 21, 27, 28, 40] and puzzle auctions [42]. We give a protocol for mutual proofs of labor whose computational process is computing hash chains. This protocol is safe when utilizing a random oracle, however when utilizing as an alternative H2 an attacker can cheat by abusing the structural properties mentioned above.



Supply hyperlink

You Might Also Like

Customary Chartered Sees Indicators of Bitcoin Backside

Kraken acknowledged on Fortune’s inaugural Crypto 100 Checklist

transaction weight – Is it a bug that `OP_IF` is a part of the Tapscript opcodes?

Everybody Is Getting Hilariously Wealthy and You’re Not — Week In Overview

Bitcoin’s ‘Larger Ground’ Thesis Places $40K Backside in Play: Galaxy Analysis

Share This Article
Facebook Twitter Email Copy Link Print
Previous Article Meta Stablecoin Transfer Brings USDC Payouts to Choose Creators Meta Stablecoin Transfer Brings USDC Payouts to Choose Creators
Next Article OKX Publishes Open-Normal Fee Protocol for Autonomous AI Brokers OKX Publishes Open-Normal Fee Protocol for Autonomous AI Brokers
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Subscribe to our newslettern

Get Newest Articles Instantly!

- Advertisement -
Ad imageAd image
Popular News
Ethereum Value Rejected Once more — Is One other Leg Decrease Brewing?
Ethereum Value Rejected Once more — Is One other Leg Decrease Brewing?
Margin-enhancing UHDMS tech advances positively at Kumba
Margin-enhancing UHDMS tech advances positively at Kumba
ETH ETF Outflows Prime 2M Regardless of Ether Holding K
ETH ETF Outflows Prime $242M Regardless of Ether Holding $2K

Follow Us on Socials

We use social media to react to breaking news, update supporters and share information

Facebook Instagram Linkedin Pinterest Tiktok Twitter Youtube
The Cryptonomics™

Cryptonomics Magazine is your premier digital source for blockchain insights, offering cutting-edge research, news, interviews, and ICO updates for everyone from entrepreneurs to institutions. We drive blockchain knowledge and growth.

Subscribe to our newsletter

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

Sharp rise in April mineral gross sales highlights significance of mining, council avers
June 14, 2026
Zcash Proposes Ironwood Pool After Orchard Bug
June 14, 2026
Customary Chartered Sees Indicators of Bitcoin Backside
June 14, 2026
SANY’s first SY1250H mining excavator in Europe commissioned at Ugljevic coal mine
June 14, 2026
Kraken acknowledged on Fortune’s inaugural Crypto 100 Checklist
June 14, 2026
Copyright © The Cryptonomics™ , All right reserved
  • About Us
  • Advertising Solutions
  • Privacy
  • Terms
  • Advertise
Join Us!

Subscribe & Stay Ahead of the Curve with Cryptonomics !

Zero spam, Unsubscribe at any time.
Welcome Back!

Sign in to your account

Lost your password?