HMAC-SHA1

From Qt Wiki
Revision as of 15:40, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function which returns HMAC-SHA1 encrypted signature composed of public key and secret base string:

You may use this code with any license you prefer :)

Note that Qt 5.1 introduces a new class QMessageAuthenticationCode [doc-snapshot.qt.io] which provides a standard API for HMACs.

Categories: