TreeFrogFramework  1.18
Public Types | Static Public Member Functions | List of all members
TCryptMac Class Reference

#include <tcryptmac.h>

Public Types

enum  Algorithm {
  Hmac_Md5 = QCryptographicHash::Md5, Hmac_Sha1 = QCryptographicHash::Sha1, Hmac_Sha256 = QCryptographicHash::Sha256, Hmac_Sha384 = QCryptographicHash::Sha384,
  Hmac_Sha512 = QCryptographicHash::Sha512
}
 

Static Public Member Functions

static QByteArray hash (const QByteArray &data, const QByteArray &key, Algorithm method)
 

Detailed Description

The TCryptMac class provides the functionality of a "Message Authentication Code" (MAC) algorithm.

Member Enumeration Documentation

Enumerator
Hmac_Md5 
Hmac_Sha1 
Hmac_Sha256 
Hmac_Sha384 
Hmac_Sha512 

Member Function Documentation

QByteArray TCryptMac::hash ( const QByteArray &  data,
const QByteArray &  key,
Algorithm  method 
)
static

Returns a cryptographic hash value generated from the given binary or text data data with key using method.


The documentation for this class was generated from the following files: