Schnorr signature
In cryptography, a Schnorr signature is a digital signature produced by the Schnorr signature algorithm. Its security is based on the intractability of certain discrete logarithm problems. It is considered the simplest digital signature scheme to be provably secure in a random oracle model[citation needed]. It is efficient and generates short signatures. It is covered by U.S. Patent 4,995,082, which expired in February 2008.
Contents |
[edit] Algorithm
[edit] Choosing parameters
- All users of the signature scheme agree on a group
with generator
of prime order
in which the discrete log problem is hard. Typically a Schnorr group is used. - All users agree on a cryptographic hash function
.
[edit] Notation
In the following,
- Exponentiation stands for repeated application of the group operation
- Juxtaposition stands for multiplication on the set of congruence classes or application of the group operation (as applicable)
- Subtraction stands for subtraction on set of equivalence groups
, the set of finite bit strings
, the set of congruence classes modulo
excluding 
, the set of congruence classes modulo 
.
[edit] Key generation
- Choose a private signing key
from the allowed set. - The public verification key is
.
[edit] Signing
To sign a message
:
- Choose a random
from the allowed set. - Let
. - Let
, where || denotes concatenation and
is represented as a bit string. - Let
.
The signature is the pair
.
Note that
; if
, then the signature representation can fit into 40 bytes.
[edit] Verifying
- Let

- Let

If
then the signature is verified.
[edit] Demonstration of correctness
It is relatively easy to see that
if the signed message equals the verified message:
, and hence
.
The other direction goes through using the fact that
and the assumption that the hash function is collision-resistant[clarification needed].
Public elements:
,
,
,
,
,
,
. Private elements:
,
.
[edit] See also
[edit] References
- C.P. Schnorr, Efficient identification and signatures for smart cards, in G. Brassard, ed. Advances in Cryptology—Crypto '89, 239-252, Springer-Verlag, 1990. Lecture Notes in Computer Science, nr 435
- Claus-Peter Schnorr, Efficient Signature Generation by Smart Cards, J. Cryptology 4(3), pp161–174 (1991) (PS).
- Menezes, Alfred J. et al. Handbook of Applied Cryptography CRC Press. 1996.
|
|||||||||||||||||||||||||||||
.
, the set of finite bit strings
, the 
, the set of congruence classes modulo
.
.
.
, where || denotes concatenation and
.
