Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FSHA1
Description
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)
| Name | InitializeFileHashesFromBuffer |
| 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 InitializeFileHashesFromBuffer
(
uint8 * Buffer,
uint64 BufferSize,
bool bDuplicateKeyMemory
)
Parameters
| Name | Remarks |
|---|---|
| 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 |