hammerspoon2-docs
    Preparing search index...

    Function hmacMD5

    • Generate the HMAC-MD5 of some bytes with a key

      Parameters

      • key: string | number[] | ArrayBuffer | Uint8Array<ArrayBufferLike>

        The secret key. A string is used as UTF-8

      • data: string | number[] | ArrayBuffer | Uint8Array<ArrayBufferLike>

        The data to authenticate. A string is used as UTF-8

      Returns string

      Hexadecimal HMAC-MD5

      Throws an Error on failure; wrap calls in try/catch to handle it.