Overview
The ElGamal signature scheme computes a signature pair from a message, private key, and one-time random value. Verification checks a modular exponentiation equation against the public key.
Signs messages with a discrete-log construction using a fresh random nonce.
Compact metadata for implementation and discovery.
The ElGamal signature scheme computes a signature pair from a message, private key, and one-time random value. Verification checks a modular exponentiation equation against the public key.
Quick facts
Runtime and memory behavior at a glance.
Best
O(k)
Average
O(k^2)
Worst
O(k^3)
Space
O(k)
Show combining a random exponent with modular inverse arithmetic on a small digital signature generation example.
ElGamal signatures are useful for understanding discrete-log signatures, but modern protocols usually specify more constrained schemes.
What each reference supports for this entry.
Original reference for ElGamal signatures based on discrete logarithms and modular exponentiation.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
DSA is derived from the same discrete-log setting with a different signature equation.
Schnorr signatures are another nonce-sensitive discrete-log signature construction.