@blockchaincommons/envelope - v1.0.0-beta.4
    Preparing search index...

    Interface DigestProvider

    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.

    interface DigestProvider {
        digest(): Digest;
    }

    Implemented by

    Index
    • 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.

      Returns Digest