liveBook · Manning

Deterministic signature

As explained in Real-World Cryptography

A deterministic signature is a digital signature generated without fresh random input for each signing operation, typically by deriving signing randomness from secret data and the message.

A deterministic signature avoids fresh randomness for every signing operation. Instead, signing derives the required per-signature nonce from secret data and the message, making the signing process reproducible without treating randomness generation as a separate input. section 7.3.4

EdDSA illustrates the technique through these components:

  • Derives an actual signing key and a separate nonce key from the secret key. section 7.3.4
  • Uses the nonce key and message to deterministically generate the nonce for each signature. section 7.3.4
  • Appears in practice primarily as Ed25519, while Ed448 provides the alternative Edwards448 instantiation. section 7.3.4
Figure 7.11 EdDSA key generation produces a secret key that is then used to derive two other keys. The first derived key is the actual signing key and can thus be used to derive the public key; the other derived key is the nonce key, used to deterministically derive the nonce during signing operations. EdDSA signatures are then like Schnorr signatures with the exception that (1) the nonce is generated deterministically from the nonce key and the message, and (2) the public key of the signer is included as part of the challenge.

Trace how EdDSA derives signing and nonce keys, then uses the nonce key and message during signing. section 7.3.4

How Real-World Cryptography covers it

How deep it goes
Explains key derivation and nonce generation within EdDSA, including its relationship to Schnorr signatures.
Examples
Uses Ed25519 and Ed448 as concrete EdDSA instantiations, with Edwards25519 and Edwards448 providing different security levels.
What you can do after
Evaluate/understand how EdDSA derives per-signature nonces from a nonce key and message.
How it connects
Connects deterministic signatures with EdDSA, Schnorr signatures, public keys, signing keys, nonce keys, and elliptic curves.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.