Skip to content

MultihashDigest

Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/hashes/interface.d.ts:6

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

Type ParameterDefault type
Code extends numbernumber
bytes: Uint8Array;

Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/hashes/interface.d.ts:22

Binary representation of this multihash digest.


code: Code;

Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/hashes/interface.d.ts:10

Code of the multihash


digest: Uint8Array;

Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/hashes/interface.d.ts:14

Raw digest (without a hashing algorithm info)


size: number;

Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/hashes/interface.d.ts:18

byte length of the this.digest