5
$\begingroup$

Why does EdDSA use the (SHA512) hash of the secret key as the exponent for the public key rather than using the secret key value directly? This seems inefficient and I can't see how it adds any extra security.

$\endgroup$
3
$\begingroup$

Ed25519 needs two secret values:

  • The private scalar (~256 bits)
  • A hash prefix used derive a secret nonce from the message (256 bits)

Using the same value for these is bad style, as is deriving one of them from the other. You could also use their concatenation as private key, but that'd double its size to 512 bits. So Ed25519 chose the clean solution of deriving both from a 256 bit master secret.

|improve this answer|||||
$\endgroup$
  • $\begingroup$ Thanks. That makes sense. I'd overlooked the deterministic nonce. I suppose that "using the same value for these is bad style" means that there isn't a known attack but using the same key gives us an uneasy feeling? The security of the actual approach and (hypothetically) using the same value would seem to rest on the infeasibility of computing a SHA512 pre-image? $\endgroup$ – geoff_h Jun 30 '15 at 10:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.