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 Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
Code extends number | number |
Properties
Section titled “Properties”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
Section titled “digest”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