7.2. Cryptographic Security Methods
The private key kkk is randomly selected as follows:
The public key is calculated as:
Steps for creating a signature:
1. Calculate the hash mark of the message M:
2. Select a random number r:
3. Compute a point on the curve:
4. Calculate the second part of the signature:
To Verify a Signature r,s Using the Public Key P:
1. Calculate the hash mark of the message:
2. Compute the parameters:
3. Compute the point:
4. If , the signature is considered valid.
The secp256k1 Elliptic Curve is Defined by the Equation:
Features of secp256k1:
Hashing Formula:
Last updated