FSHA1::InitializeFileHashesFromBuffer

Shared hashes.sha reading code (each platform gets a buffer to the data, then passes it to this function for processing)

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 InitializeFileHashesFromBuffer
(
    uint8 * Buffer,
    uint64 BufferSize,
    bool bDuplicateKeyMemory
)

Remarks

Shared hashes.sha reading code (each platform gets a buffer to the data, then passes it to this function for processing)

Shared hashes.sha reading code (each platform gets a buffer to the data, then passes it to this function for processing)

Parameters

Parameter

Description

Buffer

Contents of hashes.sha (probably loaded from an a section in the executable)

BufferSize

Size of Buffer

bDuplicateKeyMemory

If Buffer is not always loaded, pass true so that the 20 byte hashes are duplicated

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