multiformats - v13.3.6
    Preparing search index...

    Class Digest<Code, Size>

    Represents a multihash digest which carries information about the hashing algorithm and an actual hash digest.

    Type Parameters

    • Code extends number
    • Size extends number

    Implements

    Index

    Constructors

    Properties

    Constructors

    Properties

    bytes: Uint8Array

    Binary representation of this multihash digest.

    code: Code

    Code of the multihash

    digest: Uint8Array

    Raw digest (without a hashing algorithm info)

    size: Size

    byte length of the this.digest