HMAC.
More...
#include <hmac.h>
|
| CRYPTOPP_CONSTANT (DIGESTSIZE=T::DIGESTSIZE) |
|
| CRYPTOPP_CONSTANT (BLOCKSIZE=T::BLOCKSIZE) |
|
| HMAC () |
| Construct a HMAC.
|
|
| HMAC (const byte *key, size_t length=HMAC_Base::DEFAULT_KEYLENGTH) |
| Construct a HMAC.
|
|
std::string | AlgorithmName () const |
|
std::string | AlgorithmProvider () const |
|
std::string | AlgorithmName () const |
| The algorithm name.
|
|
template<class T>
class HMAC< T >
HMAC.
- Template Parameters
-
HMAC derives from MessageAuthenticationCodeImpl. It calculates the HMAC using HMAC(K, text) = H(K XOR opad, H(K XOR ipad, text))
.
- See also
- HMAC
- Since
- Crypto++ 2.1
Definition at line 52 of file hmac.h.
◆ ~HMAC()
◆ HMAC() [1/2]
◆ HMAC() [2/2]
template<class T >
HMAC< T >::HMAC |
( |
const byte * |
key, |
|
|
size_t |
length = HMAC_Base::DEFAULT_KEYLENGTH |
|
) |
| |
|
inline |
Construct a HMAC.
- Parameters
-
key | the HMAC key |
length | the size of the HMAC key |
Definition at line 65 of file hmac.h.
◆ AlgorithmName()
template<class T >
std::string HMAC< T >::AlgorithmName |
( |
| ) |
const |
|
inline |
◆ AlgorithmProvider()
template<class T >
std::string HMAC< T >::AlgorithmProvider |
( |
| ) |
const |
|
inline |
◆ StaticAlgorithmName()
template<class T >
static std::string HMAC< T >::StaticAlgorithmName |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/hmac.h