Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FMD5 Class Reference

!it would be cool if these were implemented as subclasses of More...

#include <SecureHash.h>

+ Collaboration diagram for FMD5:

Classes

struct  FContext
 

Public Member Functions

 FMD5 ()
 
 ~FMD5 ()
 
void Update (const uint8 *input, uint64 inputLen)
 
void Final (uint8 *digest)
 

Static Public Member Functions

static FString HashAnsiString (const TCHAR *String)
 
static FString HashBytes (const uint8 *input, uint64 inputLen)
 

Private Member Functions

void Transform (uint32 *state, const uint8 *block)
 
void Encode (uint8 *output, const uint32 *input, int32 len)
 
void Decode (uint32 *output, const uint8 *input, int32 len)
 

Private Attributes

FContext Context
 

Detailed Description

!it would be cool if these were implemented as subclasses of

Definition at line 63 of file SecureHash.h.

Constructor & Destructor Documentation

◆ FMD5()

FMD5::FMD5 ( )

◆ ~FMD5()

FMD5::~FMD5 ( )

Member Function Documentation

◆ Decode()

void FMD5::Decode ( uint32 * output,
const uint8 * input,
int32 len )
private

◆ Encode()

void FMD5::Encode ( uint8 * output,
const uint32 * input,
int32 len )
private

◆ Final()

void FMD5::Final ( uint8 * digest)

MD5 finalization. Ends an MD5 message-digest operation, writing the the message digest and zeroizing the context. Digest is 16 BYTEs.

Parameters
digestpointer to a buffer where the digest should be stored ( must have at least 16 bytes )
+ Here is the caller graph for this function:

◆ HashAnsiString()

static FString FMD5::HashAnsiString ( const TCHAR * String)
inlinestatic

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

Parameters
Stringhex representation of the hash (32 lower-case hex digits)

Definition at line 92 of file SecureHash.h.

◆ HashBytes()

static FString FMD5::HashBytes ( const uint8 * input,
uint64 inputLen )
inlinestatic

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

Parameters
Stringhex representation of the hash (32 lower-case hex digits)

Definition at line 102 of file SecureHash.h.

+ Here is the call graph for this function:

◆ Transform()

void FMD5::Transform ( uint32 * state,
const uint8 * block )
private

◆ Update()

void FMD5::Update ( const uint8 * input,
uint64 inputLen )

MD5 block update operation. Continues an MD5 message-digest operation, processing another message block, and updating the context.

Parameters
inputinput data
inputLenlength of the input data in bytes
+ Here is the caller graph for this function:

Member Data Documentation

◆ Context

FContext FMD5::Context
private

Definition at line 131 of file SecureHash.h.


The documentation for this class was generated from the following file: