Interface implemented by platform provided hasher.

The hash implementation must support 'sha256' and 'sha1'.

The has implementation must support digesting to 'hex' or 'base64'.

Hierarchy

Methods

Methods

  • Parameters

    • encoding: string

    Returns string

  • Parameters

    • data: string

    Returns Hasher

Generated using TypeDoc