FSHA1::HMACBuffer

Generate the HMAC (Hash-based Message Authentication Code) for a block of data.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/SecureHash.h

Include

#include "Misc/SecureHash.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/SecureHash.cpp

Syntax

static void HMACBuffer
(
    const void * Key,
    uint32 KeySize,
    const void * Data,
    uint64 DataSize,
    uint8 * OutHash
)

Remarks

Generate the HMAC (Hash-based Message Authentication Code) for a block of data. https://en.wikipedia.org/wiki/Hash-based_message_authentication_code

Parameters

Parameter

Description

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss