Schnorr signature

From Wikipedia, the free encyclopedia

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.

Algorithm

Choosing parameters

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
  • M\in \{0,1\}^{*}, the set of finite bit strings
  • s,e,e_{v}\in {\mathbb  {Z}}_{q}, the set of congruence classes modulo q
  • x,k\in {\mathbb  {Z}}_{q}^{\times }, the q (for prime q, {\mathbb  {Z}}_{q}^{\times }={\mathbb  {Z}}_{q}\setminus \overline {0}_{q})
  • y,r,r_{v}\in G.

Key generation

  • Choose a private signing key x from the allowed set.
  • The public verification key is y=g^{x}.

Signing

To sign a message M:

  • Choose a random k from the allowed set.
  • Let r=g^{k}.
  • Let e=H(M||r), where || denotes concatenation and r is represented as a bit string.
  • Let s=(k-xe).

The signature is the pair (s,e).

Note that s,e\in {\mathbb  {Z}}_{q}; if q<2^{{160}}, then the signature representation can fit into 40 bytes.

Verifying

  • Let r_{v}=g^{s}y^{e}
  • Let e_{v}=H(M||r_{v})

If e_{v}=e then the signature is verified.

Proof of correctness

It is relatively easy to see that e_{v}=e if the signed message equals the verified message:

r_{v}=g^{s}y^{e}=g^{{k-xe}}g^{{xe}}=g^{k}=r, and hence e_{v}=H(M||r_{v})=H(M||r)=e.

Public elements: G, g, q, y, s, e, r. Private elements: k, x.

Security argument

No proof of security for the Schnorr signature scheme is known under standard cryptographic assumptions.

The signature scheme was constructed by applying the Fiat-Shamir Transform[1] to Schnorr's identification protocol.[2] Therefore (per Fiat and Shamir's arguments), it is secure if H is modeled as a random oracle.

Its security can also be argued in the generic group model, under the assumption that H is "random-prefix preimage resistant" and "random-prefix second-preimage resistant".[3] In particular, H does not need to be collision resistant.

See also

References

  1. Fiat; Shamir (1986). "How To Prove Yourself: Practical Solutions to Identification and Signature Problems". Proceedings of CRYPTO '86. 
  2. Schnorr (1989). "Efficient Identification and Signatures for Smart Cards". Proceedings of CRYPTO '89. 
  3. Neven, Smart, Warinschi. "Hash Function Requirements for Schnorr Signatures". IBM Research. Retrieved 19 July 2012. 
  • 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), pp161174 (1991) (PS).
  • Menezes, Alfred J. et al. Handbook of Applied Cryptography CRC Press. 1996.
This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.