Ark Server API (ASA) - Wiki
|
!it would be cool if these were implemented as subclasses of More...
#include <SecureHash.h>
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 |
!it would be cool if these were implemented as subclasses of
Definition at line 63 of file SecureHash.h.
FMD5::FMD5 | ( | ) |
FMD5::~FMD5 | ( | ) |
MD5 finalization. Ends an MD5 message-digest operation, writing the the message digest and zeroizing the context. Digest is 16 BYTEs.
digest | pointer to a buffer where the digest should be stored ( must have at least 16 bytes ) |
Helper to perform the very common case of hashing an ASCII string into a hex representation.
String | hex representation of the hash (32 lower-case hex digits) |
Definition at line 92 of file SecureHash.h.
Helper to perform the very common case of hashing an in-memory array of bytes into a hex representation
String | hex representation of the hash (32 lower-case hex digits) |
Definition at line 102 of file SecureHash.h.
MD5 block update operation. Continues an MD5 message-digest operation, processing another message block, and updating the context.
input | input data |
inputLen | length of the input data in bytes |
|
private |
Definition at line 131 of file SecureHash.h.