comp • gb.openssl • hmac • _call

HMac() (gb.openssl)

Static Function HMac ( Key As String, Data As String [ , Method As Variant ] ) As String

Call the HMac class like a function to calculate the HMAC of the Data parameter with the given Key. You can choose one of the constants in this class to give as method to specify the underlying hash algorithm.

This function returns raw binary data. You may want to use the Base64$() function before printing it.