Cryptography, Blockchain, Ethereum, ICO, Bitcoin.
mod p. The public key is y. The secret key is x. Signature generation (performer by the prover) Let m be the message we want to signed. Choose a random k such that 1 < k < p − 1 and gcd(k, p − 1) = 1 Compute r = gᵏ mod p Compute s = (H(m) -x.r)k⁻ ¹ mod (p-1) If s == 0, restart The pair (r, s) is