Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Classes | Public Member Functions | Public Attributes | List of all members
MD5 Class Reference

`#include <md5.h>`

## Public Member Functions
| MD5 ()
void | Init ()
void | Update (unsigned char *input, unsigned int inputLen)
void | Final ()
void | writeToString ()
| Buffer must be 32+1 (nul) = 33 chars long at least. More...
char * | digestFile (char *filename)
| Load a file from disk and digest it. More...
char * | digestMemory (BYTE *memchunk, int len)
| Digests a byte-array already in memory. More...
char * | digestString (char *string)

## Public Attributes
BYTE | digestRaw [16]
char | digestChars [33]

## Constructor & Destructor Documentation

MD5 | ( |  | ) |
| inline

## Member Function Documentation

char* digestFile | ( | char * | filename | ) |
| inline

Load a file from disk and digest it.

char* digestMemory | ( | BYTE * | memchunk,
|  | int | len
| ) |  |
| inline

Digests a byte-array already in memory.

char* digestString | ( | char * | string | ) |
| inline

void Final | ( |  | ) |
| inline

void Init | ( |  | ) |
| inline

void Update | ( | unsigned char * | input,
|  | unsigned int | inputLen
| ) |  |
| inline

void writeToString | ( |  | ) |
| inline

Buffer must be 32+1 (nul) = 33 chars long at least.

## Member Data Documentation

char digestChars[33]

BYTE digestRaw[16]

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

- algorithm/md5.h