FMD5Hash

Simple helper struct to ease the caching of MD5 hashes

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/SecureHash.h"

Syntax

struct FMD5Hash

Remarks

Simple helper struct to ease the caching of MD5 hashes

Constructors

Name Description

Public function

FMD5Hash()

Default constructor

Functions

Name Description

Public function Const

const uint8 ...

 

GetBytes()

Public function Const

const int32

 

GetSize()

Public function Static

FMD5Hash

 

HashFile

(
    const TCHAR* InFilename,
    TArray< uint8 >* Buffer
)

Hash the specified file contents (using the optionally supplied scratch buffer)

Public function Static

FMD5Hash

 

HashFileFromArchive

(
    FArchive* Ar,
    TArray< uint8 >* ScratchPad
)

Hash the specified file contents (using the optionally supplied scratch buffer)

Public function Const

bool

 

IsValid()

Check whether this has hash is valid or not

Public function

void

 

Set

(
    FMD5& MD5
)

Set up the MD5 hash from a container

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