Module ecdsa::hazmat [−][src]
This is supported on crate feature
hazmat
only.Expand description
Low-level ECDSA primitives.
⚠️ Warning: Hazmat!
YOU PROBABLY DON’T WANT TO USE THESE!
These primitives are easy-to-misuse low-level interfaces.
If you are an end user / non-expert in cryptography, do not use these! Failure to use them correctly can lead to catastrophic failures including FULL PRIVATE KEY RECOVERY!
Traits
DigestPrimitive
digest
Bind a preferred [Digest
] algorithm to an elliptic curve type.
SignPrimitive
arithmetic
Try to sign the given prehashed message using ECDSA.
VerifyPrimitive
arithmetic
Verify the given prehashed message using ECDSA.
Functions
Deterministically compute ECDSA ephemeral scalar k
using the method
described in RFC6979.