Interface MultihashDigest<Code>

A multihash digest and its hashing algorithm.

interface MultihashDigest {
    bytes: Uint8Array;
    code: Code;
    digest: Uint8Array;
}

Type Parameters

  • Code extends number = number

Properties

Properties

bytes: Uint8Array

Binary representation of this multihash digest.

code: Code

Code of the multihash

digest: Uint8Array

Raw digest

Generated using TypeDoc