Marker trait for
Signature types computable as
i.e. ones which prehash a message to be signed as
𝐒: signature algorithm
𝐇: hash (a.k.a. digest) function
This approach is relatively common in signature schemes based on the Fiat-Shamir heuristic.
For signature types that implement this trait, when the
Cargo feature is enabled a custom derive for
Signer is available for any
types that impl
DigestSigner, and likewise for deriving
types which impl
Digest algorithm to use when computing this signature type.