The Cryptonomics™
  • Home
  • Blockchain
  • Bitcoin
  • Ethereum
  • NFTS
  • Altcoin
  • Mining
  • Consulting
Reading: script – Why does SHA-256d (double SHA-256) in Bitcoin have a constrained message schedule within the second hash?
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 – Why does SHA-256d (double SHA-256) in Bitcoin have a constrained message schedule within the second hash?
Bitcoin

script – Why does SHA-256d (double SHA-256) in Bitcoin have a constrained message schedule within the second hash?

admin
Last updated: April 27, 2026 9:57 am
admin Published April 27, 2026
Share
script – Why does SHA-256d (double SHA-256) in Bitcoin have a constrained message schedule within the second hash?


Bitcoin safety by no means relied on 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 manner that will undergo from size extensions, however I suppose Satoshi went with the secure selection of stopping it in all places.

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

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


The paper’s discovery is attention-grabbing in that it strikes 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).

Curiously, Bitcoin builders did not suppose that securing towards 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.

This discovery you current considerably weakens unlinkability property of SHA256d hashes. Readers may be taken with some older associated work, that has already proven a weak point towards an unique use-case (Dodis et al., 2013):

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



Supply hyperlink

You Might Also Like

Paper losses and scrapped ETFs. What Trump Media’s 2,650 BTC switch actually means

NEX is accessible for buying and selling!

Import Seed phrase from Blockstream (inexperienced) cellphone app into Sparrow FAILS?

Large Quick’s Michael Burry Warns SEC Tokenized Inventory Plan Dangers ‘Snow Crash’ Future – Bitcoin Information

Why is Bitcoin Down Regardless of Professional-Crypto Kevin Warsh Changing into Fed Chair?

Share This Article
Facebook Twitter Email Copy Link Print
Previous Article Trump’s official memecoin extends slide as he hosts unique investor gala Trump’s official memecoin extends slide as he hosts unique investor gala
Next Article Solana (SOL) Edges Up, Merchants Watch For Sustained Upside Transfer Solana (SOL) Edges Up, Merchants Watch For Sustained Upside Transfer
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!

Paper losses and scrapped ETFs. What Trump Media’s 2,650 BTC switch actually means
May 25, 2026
American Mega Financial institution Is Dumping Its Ethereum Holdings, Right here’s What It’s Shopping for
May 25, 2026
Platinum’s the reward that simply retains on giving as world value-chain prospects resurface
May 25, 2026
Dogecoin (DOGE) Bounce Beneath Menace As Resistance Caps Additional Positive factors
May 25, 2026
NEX is accessible for buying and selling!
May 25, 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?