FMD5

MD5 Context.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Misc/SecureHash.h"

Syntax

class FMD5

Remarks

MD5 Context. MD5 functions. !it would be cool if these were implemented as subclasses of FArchive.

void appMD5Init( FMD5Context* context ); void appMD5Update( FMD5Context* context, uint8* input, int32 inputLen ); void appMD5Final( uint8* digest, FMD5Context* context ); void appMD5Transform( uint32* state, uint8* block ); void appMD5Encode( uint8* output, uint32* input, int32 len ); void appMD5Decode( uint32* output, uint8* input, int32 len );

Constructors

Name Description

Public function

FMD5()

Destructors

Name Description

Public function

~FMD5()

Functions

Name Description

Public function

void

 

Final

(
    uint8* digest
)

MD5 finalization.

Public function Static

FString

 

HashAnsiString

(
    const TCHAR* String
)

Helper to perform the very common case of hashing an ASCII string into a hex representation.

Public function Static

FString

 

HashBytes

(
    const uint8* input,
    uint64 inputLen
)

Helper to perform the very common case of hashing an in-memory array of bytes into a hex representation

Public function

void

 

Update

(
    const uint8* input,
    uint64 inputLen
)

MD5 block update operation.