Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HmacSha256Sign

Package version

Describes the HmacSHA256Sign object.

Hierarchy

  • HmacSha256Sign

Index

Constructors

Methods

Constructors

constructor

Methods

sign

  • sign(stringToSign: string): string
  • Computes a signature for the specified string using the HMAC-SHA256 algorithm.

    Parameters

    • stringToSign: string

      The UTF-8-encoded string to sign.

    Returns string

    A String that contains the HMAC-SHA256-encoded signature.

Generated using TypeDoc