Class Hasher<Name, Code>

Hasher represents a hashing algorithm implementation that produces as MultihashDigest.

Type Parameters

  • Name extends string
  • Code extends number

Implements

Constructors

Properties

Methods

Constructors

Properties

code: Code

Code of the multihash

encode: ((input) => Await<Uint8Array>)

Type declaration

name: Name

Name of the multihash

Methods

Generated using TypeDoc