Alice chooses a large prime
Let
The public key is
The private key is
Let
To send a message
Alice randomly chooses
She computes
satisfying:
Since
Alice signs the message with
Now:
so Bob accepts a signature if
Any obvious attempt at forging involves the discrete log
Lemma
Let
This has either no solutions or
Corollary
Alice HAS TO choose different
Suppose she sends
with signatures
Then:
Hence:
By the previous Lemma, we can find solutions for
and then choose
Then
This gives
Choose the solution that gives
Now we found Alice’s private key and we are able to sign msgs.