Module ed25519_dalek::hazmat

source ·
Expand description

Low-level interfaces to ed25519 functions

§⚠️ Warning: Hazmat

These primitives are easy-to-misuse low-level interfaces.

If you are an end user / non-expert in cryptography, do not use any of these functions. Failure to use them correctly can lead to catastrophic failures including full private key recovery.

Structs§

  • Contains the secret scalar and domain separator used for generating signatures.

Functions§

  • Compute an ordinary Ed25519 signature over the given message. CtxDigest is the digest used to calculate the pseudorandomness needed for signing. According to the Ed25519 spec, CtxDigest = Sha512.
  • The ordinary non-batched Ed25519 verification check, rejecting non-canonical R values.CtxDigest is the digest used to calculate the pseudorandomness needed for signing. According to the Ed25519 spec, CtxDigest = Sha512.