IFClite TypeScript API
    Preparing search index...

    Function computeHmac

    • Compute an HMAC-SHA256 hex digest over (clientId || clock || payload). Exposed so clients in tests (and non-Node environments) can produce matching tags from the same canonical encoding.

      Parameters

      • secret: Buffer
      • clientId: number
      • clock: number
      • payload: Uint8Array

      Returns string