Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FSHA1
Description
Generate the HMAC (Hash-based Message Authentication Code) for a block of data. https://en.wikipedia.org/wiki/Hash-based_message_authentication_code
| Name | HMACBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/SecureHash.h |
| Include Path | #include "Misc/SecureHash.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/SecureHash.cpp |
static void HMACBuffer
(
const void * Key,
uint32 KeySize,
const void * Data,
uint64 DataSize,
uint8 * OutHash
)
Parameters
| Name | Remarks |
|---|---|
| Key | The secret key to be used when generating the HMAC |
| KeySize | The size of the key |
| Data | Input data to hash |
| DataSize | Size of the Data block |
| OutHash | Resulting hash value (20 byte buffer) |