Digest

Trait Digest 

Source
pub trait Digest:
    Array
    + Copy
    + Random { }
Expand description

Specializes the commonware_utils::Array trait with the Copy trait for cryptographic digests (which should be cheap to clone).

§Warning

This trait requires Random::random, but generating a digest at random is typically reserved for testing, and not production use.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Digest for commonware_cryptography::blake3::Digest

Source§

impl Digest for commonware_cryptography::sha256::Digest

Source§

impl Digest for Summary