TreeFrogFramework  2.6
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 , Hmac_Sha3_224 = QCryptographicHash::Sha3_224 , Hmac_Sha3_256 = QCryptographicHash::Sha3_256 , Hmac_Sha3_384 = QCryptographicHash::Sha3_384 ,
  Hmac_Sha3_512 = QCryptographicHash::Sha3_512
}
 

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

◆ Algorithm

Enumerator
Hmac_Md5 
Hmac_Sha1 
Hmac_Sha256 
Hmac_Sha384 
Hmac_Sha512 
Hmac_Sha3_224 
Hmac_Sha3_256 
Hmac_Sha3_384 
Hmac_Sha3_512 

Member Function Documentation

◆ hash()

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: