multiformats - v13.3.6
    Preparing search index...

    Class Hasher<Name, Code>

    Hasher represents a hashing algorithm implementation that produces as MultihashDigest.

    Type Parameters

    • Name extends string
    • Code extends number

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    code: Code

    Code of the multihash

    encode: (input: Uint8Array) => Await<Uint8Array<ArrayBufferLike>>
    name: Name

    Name of the multihash

    Methods