|QuickHash Library||C++ Interface|
void FinalHex( char* pDest, bool
bUpper = false );
[out] Pointer to the text buffer that will receive the HMAC.
[in] Uppercase flag. If bUpper is false, the received HMAC represents a lowercase string, otherwise it represents an uppercase string.
Call this member function to retrieve the HMAC from the CHMAC object. The HMAC is retrieved as a null-terminated hexadecimal string in the text buffer pointed by pDest. The size of the text buffer pointed by pDest must be at least CHMAC<T>::HEXDIGESTSIZE characters. For example, the size of the text buffer pointed by pDest must be at least CHMAC<CMD5>::HEXDIGESTSIZE characters, if the HMAC is calculated using the MD5 hash algorithm.
After the FinalHex method is performed, the CHMAC object is initialized for new calculations, as it would be constructed again. To initialize the CHMAC object with another key, call the Init method.
CHMAC Overview | Class Members | Useful Links | HashCalc
See Also CHMAC::Final, CHMAC::Update, CHMAC::Init
|Send Feedback to SlavaSoft Inc.||Tell a friend about QuickHash Library|