Module hazmat

Module hazmat 

Source
Available 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 intended to be implemented by elliptic curve crates and consumed only by this crate!

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§

DigestPrimitivedigest
Bind a preferred Digest algorithm to an elliptic curve type.
FromDigestdigest
Instantiate this type from the output of a digest.
RecoverableSignPrimitivearithmetic
SignPrimitive for signature implementations that can provide public key recovery implementation.
SignPrimitivearithmetic
Try to sign the given prehashed message using ECDSA.
VerifyPrimitivearithmetic
Verify the given prehashed message using ECDSA.