Hmac.computeHmacForString

Computes the HMAC for a string.

The hexadecimal string returned will be in lower case.

class Hmac
static
string
computeHmacForString

Parameters

digestType GChecksumType

a #GChecksumType to use for the HMAC

key char[]

the key to use in the HMAC

str string

the string to compute the HMAC for

Meta

Since

2.30