pub trait Sha256: CryptoClient {
fn sha256_derive_key(
&mut self,
shared_key: KeyId,
persistence: Location
) -> ClientResult<'_, DeriveKey, Self> { ... }
fn hash_sha256<'c>(
&'c mut self,
message: &[u8]
) -> ClientResult<'c, Hash, Self> { ... }
}