3.2.2 ECDSA Signature Algorithm
In cryptography, the Elliptic Curve Digital Signature Algorithm (ECDSA) is a digital signature algorithm that uses the secp256k1 curve to create and verify digital signatures.
ECDSA Signature Algorithm
Elliptic Curve Digital Signature Algorithm (ECDSA) is a cryptographic algorithm for creating digital signatures. More concretely, Setup
β Public Parameters: Let πΉ be a finite field, two parameters π and π define an elliptic
π
curve πΆ over πΉ , a seed which validates πΆ, a prime integer
π
πΊβ πΆ of order π where π is either prime or a power of 2.
β Private Key: An integer π in [1, π β 1].
β Public Key: π = ππΊ.
Signature generation for a given message π:
β Generate πβ [1, π β 1]
β Compute
(π₯1, π¦1) = ππΊ
π = π₯1 πππ π
π = π»(π) + ππ πππ π
β If π = 0 or π = 0, try again. The signature is (π, π ).
β Signature: (π, π , π ).
Verification:
β Given (π, π ', π ' ).
β Verify if π' and π ' are in [1, π β 1] and that π' = π₯ πππ π for
(π₯ , π¦ ) = π’ πΊ + π’ π = π»(π) πππ π, and π’ = π' πππ π.s')
π’
1 1 1 2 1 π ' 2 π '
Last updated