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

Bitcoin Whales Keep Buying, 100+ BTC Holders Hit New Highs

January 10, 2026

Why You Shouldn’t Trade Against The Trend » Learn To Trade The Market

January 10, 2026

AUSD is available for trading!

January 9, 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

Bitcoin Whales Keep Buying, 100+ BTC Holders Hit New Highs

January 10, 2026

AUSD is available for trading!

January 9, 2026

Change Log: Version 1.126 – Bitfinex blog

January 8, 2026

consensus – According to Bitcoin’s protocol and whitepaper, is Bitcoin primarily a store of value, a settlement layer, or censorship-resistant money?

January 7, 2026
Add A Comment
Leave A Reply Cancel Reply

Top Insights

Bitcoin Whales Keep Buying, 100+ BTC Holders Hit New Highs

January 10, 2026

Why You Shouldn’t Trade Against The Trend » Learn To Trade The Market

January 10, 2026

AUSD is available for trading!

January 9, 2026

Best Volume MT5 Indicator – ForexMT4Indicators.com

January 9, 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

Bitcoin Whales Keep Buying, 100+ BTC Holders Hit New Highs

January 10, 2026

Why You Shouldn’t Trade Against The Trend » Learn To Trade The Market

January 10, 2026

AUSD is available for trading!

January 9, 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.