Algorithm 5 ECDSA_Sign_SK |
Input., Output. 1: select a random integer or a pseudo-random integer 2: calculate the solution point of the curve , and . If , then skip to step 1 3: calculate 4: calculate , where H is the hash function SHA-256, which produces a 256-bit hash value 5: calculate . If , then skip to step 1 6: return the signature of is |