pub trait SigningKey {
    type Hasher: HashImpl;

    fn sign(&self, input: impl Writable) -> Result<Vec<u8>>;
    fn algorithm(&self) -> Algorithm;

    fn hash(&self, data: impl Writable) -> HashOutput { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Implementors§