February 26, 2002
Practical Aspects of Modern Cryptography
8
The Digital Signature Algorithm
nTo sign a 160-bit message M,
nGenerate a random integer k with 0 < k < q,
nCompute r = (gk mod p) mod q,
nCompute s = ((M+xr)/k) mod q.
n
nThe pair (r,s) is the signature on M.