Trait decaf377_rdsa::Domain

source ·
pub trait Domain: Sealed { }
Expand description

Abstracts over different signature domains.

This design is described at the end of §5.4.6 of the Zcash protocol specification: the generator used for the signature scheme is left as an unspecified parameter, chosen differently for each signature domain.

To handle this, we encode the domain as a type parameter.

Object Safety§

This trait is not object safe.

Implementors§