Reviewed Aug 2026
DE
BA-02 · LESSON 05

ECDSA signatures

KEY DEFINITIONS

Terms used in this lesson

ECDSA
Elliptic Curve Digital Signature Algorithm, the signature scheme used by pre-Taproot Bitcoin outputs.
Low-s
A canonical ECDSA rule selecting the lower of two related s scalar forms.
DER
Distinguished Encoding Rules: the structured byte encoding historically used for ECDSA signatures in Bitcoin Script.
SegWit
Segregated Witness: a Bitcoin upgrade that separates authorization data from the transaction identifier and introduces versioned witness programs.
Signature malleability
The possibility that related signature representations can authorize the same message unless a scheme and its rules enforce a canonical form.
Witness
Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
Sighash
The exact transaction digest and signature mode that determine which fields a Bitcoin signature authorizes.

The Elliptic Curve Digital Signature Algorithm, called ECDSA, lets a private key authorize a message without revealing the key. Safe signing also depends on a unique secret nonce.

35 min Difficulty 1/5 Not started

Loading lesson visuals...

01

Learn the idea

ECDSA is the Elliptic Curve Digital Signature Algorithm used by traditional Bitcoin signature checks. A signature proves that a private-key holder authorized a specific message digest. ECDSA signing also needs a secret per-signature nonce, and exposing or reusing that nonce can reveal the private key. Signature malleability means more than one encoding or scalar form can represent related valid authorization. DER, the Distinguished Encoding Rules, is the strict byte format Bitcoin uses for ECDSA's two integers. Low-s normalization chooses the smaller equivalent s scalar. Consensus decides block validity, relay policy is a node's local admission rule, and SegWit (Segregated Witness) version 0 applies its own signature rules.

GUIDED EXPLANATION1/6 ideas inspected
1

Compute the transaction message

Bitcoin's signature-hash rules serialize selected transaction data into a digest. The signature authorizes that digest, not an informal payment description.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionA signature proves the signer approved every possible interpretation of a transaction.

It authorizes the exact digest selected by serialization and sighash rules. Software must show the user what those committed fields mean.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.