Trait for types that can provide a digest.
This is equivalent to the reference's DigestProvider trait. Types that implement this interface can be used in contexts where a digest is needed for identity or integrity verification.
DigestProvider
Returns the digest of this object.
The digest uniquely identifies the semantic content of the object, regardless of whether parts of it are elided, encrypted, or compressed.
Trait for types that can provide a digest.
This is equivalent to the reference's
DigestProvidertrait. Types that implement this interface can be used in contexts where a digest is needed for identity or integrity verification.