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

ESPORTS is available for trading!

November 30, 2025

7 Affiliate Strategies Publishers Are Using for Black Friday

November 30, 2025

Bitcoin ETFs Are Now BlackRock’s Top Revenue Source, Exec Says 


November 30, 2025
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

ESPORTS is available for trading!

November 30, 2025

Bitfinex Alpha | BTC Floor Remains Elusive

November 29, 2025

Bitcoin Price Rebound Picks Up Pace With $90K Break in Focus

November 26, 2025

TD Cowen Sees Strategy ($MSTR) Under Sell Pressure

November 25, 2025
Add A Comment
Leave A Reply Cancel Reply

Top Insights

ESPORTS is available for trading!

November 30, 2025

7 Affiliate Strategies Publishers Are Using for Black Friday

November 30, 2025

Bitcoin ETFs Are Now BlackRock’s Top Revenue Source, Exec Says 


November 30, 2025

Bitfinex Alpha | BTC Floor Remains Elusive

November 29, 2025
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

ESPORTS is available for trading!

November 30, 2025

7 Affiliate Strategies Publishers Are Using for Black Friday

November 30, 2025

Bitcoin ETFs Are Now BlackRock’s Top Revenue Source, Exec Says 


November 30, 2025
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.