pub trait Digest<'a, const L: usize>: DigestData<'a, L> + DigestHash<'a, L> + DigestVerify<'a, L> {
    fn set_client(&'a self, client: &'a dyn Client<L>);
}
Expand description

Computes a digest (cryptographic hash) over data or performs verification.

‘L’ is the length of the ‘u8’ array to store the digest output.

Required Methods

Set the client instance which will receive hash_done(), add_data_done() and verification_done() callbacks.

Implementors