Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

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.