Close Menu
  • Home
  • Altcoin
  • Bitcoin
  • Crypto
  • Forex
  • Online Money
What's Hot

XRP Liquidity Builds on Binance – What The 2.78B Reserve Spike Means

March 17, 2026

Chart Art: S&P 500 Tests Falling Trendline

March 17, 2026

South Korea Fines Bithumb $24 Million Over AML Violations

March 16, 2026
Facebook X (Twitter) Instagram
  • Altcoin
  • Bitcoin
  • Crypto
  • Forex
  • Online Money
Facebook X (Twitter) Instagram
Cointelegraphe
  • Home
  • Altcoin
  • Bitcoin
  • Crypto
  • Forex
  • Online Money
Cointelegraphe
Home»Bitcoin»ecdsa – Why do different implementations produce different DER signatures for the same private key and hash?
ecdsa – Why do different implementations produce different DER signatures for the same private key and hash?
Bitcoin

ecdsa – Why do different implementations produce different DER signatures for the same private key and hash?

adminBy adminNovember 28, 2025No Comments2 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email


Are all these signatures cryptographically valid for the same inputs? If so, how can different implementations produce different signatures?

Yes. ECDSA as originally and officially defined (like the earlier DSA using Z_p it is based on) is randomized; see step 3 at https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm .

A tweak to make it deterministic, but still secure except for leaking duplicates, was defined subsequently in https://www.rfc-editor.org/info/rfc6979 . (For info, Thomas Pornin is a longtime and highranked contributor on https://crypto.stackexchange.com .) Signer implementations, including those for bitcoin, may use this if the developer chooses; you can find out by doing multiple signature operations on the same data (or ‘representative’ hash) and key with the same implementation and seeing whether it repeats.

In addition, ECDSA signatures have the property that the “s” field can be negated modulo the subgroup order n and both versions satisfy the verification equation. Years ago this was used in some attacks, and as a result bitcoin now strongly prefers “low s” signatures — your 4 examples all do have “low s” (though that’s not a large enough sample to safely establish those implementations’ conformance without looking at their internals or specifications).

Is ECDSA signing deterministic internally, but the signature representation allows for mathematical equivalence that produces different valid encodings?

No. Given a particular semantic signature (i.e. values of r and s), the DER encoding is unique. (So is the ‘plain’/P1363/PKCS11 encoding used for bitcoin message signatures as opposed to transactions, and in some other applications like JWS.)

Would all these signatures be accepted by Bitcoin network nodes?

Yes, assuming you computed the hash as SHA256d over the correct data.



Source link

Der ecdsa HASH implementations Key Private produce signatures
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
admin
  • Website

Related Posts

XRP Liquidity Builds on Binance – What The 2.78B Reserve Spike Means

March 17, 2026

South Korea Fines Bithumb $24 Million Over AML Violations

March 16, 2026

Bitcoin set for best week since September 2025 as correlation with tech stocks weakens

March 15, 2026

PI is available for trading!

March 14, 2026
Add A Comment
Leave A Reply Cancel Reply

Top Insights

XRP Liquidity Builds on Binance – What The 2.78B Reserve Spike Means

March 17, 2026

Chart Art: S&P 500 Tests Falling Trendline

March 17, 2026

South Korea Fines Bithumb $24 Million Over AML Violations

March 16, 2026

JCPenney Takes on Fashion Elitism With a Runway Show in Paris, Texas

March 16, 2026
ads

Subscribe to Updates

Get the latest creative news from Cointelegraphe about Crypto, bItcoin and Altcoin.

About Us
About Us

At CoinTelegraphe, we are dedicated to bringing you the latest and most insightful news, analysis, and updates from the dynamic world of cryptocurrency. Our mission is to provide our readers with accurate, timely, and comprehensive information to help them navigate the complexities of the crypto market.

Facebook X (Twitter) Instagram Pinterest YouTube
Top Insights

XRP Liquidity Builds on Binance – What The 2.78B Reserve Spike Means

March 17, 2026

Chart Art: S&P 500 Tests Falling Trendline

March 17, 2026

South Korea Fines Bithumb $24 Million Over AML Violations

March 16, 2026
Get Informed

Subscribe to Updates

Get the latest creative news from Cointelegraphe about Crypto, bItcoin and Altcoin.

Please enable JavaScript in your browser to complete this form.
Loading
  • About us
  • Contact Us
  • Shop
  • Privacy Policy
  • Terms and Conditions
Copyright 2024 Cointelegraphe Design By Horaam Sultan.

Type above and press Enter to search. Press Esc to cancel.