#include <MD5Checksum.h>
|
| static std::string | getMD5 (const char *pBuf, size_t numBytes) |
| | Read numBytes from pBuf and create a MD5 checksum from the read data. More...
|
| |
| static std::string | getMD5 (std::istream &stream) |
| | Read from stream until end of file create a MD5 checksum from the read data. More...
|
| |
| static std::string | getMD5 (const std::string &strFilePath) |
| | Read until end of file in file strFilePath and create a MD5 checksum from the read data. More...
|
| |
| static std::string | getMD5 (std::istream &stream, size_t numBytes) |
| | Read numBytes (or until end of stream) from stream and create a MD5 checksum from the read data. More...
|
| |
|
| void | byteToDWord (uint32_t *Output, const char *Input, uint32_t nLength) |
| |
| void | dWordToByte (char *Output, uint32_t *Input, uint32_t nLength) |
| |
| void | FF (uint32_t &A, uint32_t B, uint32_t C, uint32_t D, uint32_t X, uint32_t S, uint32_t T) |
| |
| std::string | final () |
| |
| void | GG (uint32_t &A, uint32_t B, uint32_t C, uint32_t D, uint32_t X, uint32_t S, uint32_t T) |
| |
| void | HH (uint32_t &A, uint32_t B, uint32_t C, uint32_t D, uint32_t X, uint32_t S, uint32_t T) |
| |
| void | II (uint32_t &A, uint32_t B, uint32_t C, uint32_t D, uint32_t X, uint32_t S, uint32_t T) |
| |
| uint32_t | rotateLeft (uint32_t x, int n) |
| |
| void | transform (const char Block[64]) |
| |
| void | update (const char *Input, size_t nInputLen) |
| |
Definition at line 324 of file MD5Checksum.h.
| agxStream::MD5Checksum::MD5Checksum |
( |
| ) |
|
| virtual agxStream::MD5Checksum::~MD5Checksum |
( |
| ) |
|
|
inlinevirtual |
| void agxStream::MD5Checksum::byteToDWord |
( |
uint32_t * |
Output, |
|
|
const char * |
Input, |
|
|
uint32_t |
nLength |
|
) |
| |
|
inlineprotected |
| void agxStream::MD5Checksum::dWordToByte |
( |
char * |
Output, |
|
|
uint32_t * |
Input, |
|
|
uint32_t |
nLength |
|
) |
| |
|
inlineprotected |
| void agxStream::MD5Checksum::FF |
( |
uint32_t & |
A, |
|
|
uint32_t |
B, |
|
|
uint32_t |
C, |
|
|
uint32_t |
D, |
|
|
uint32_t |
X, |
|
|
uint32_t |
S, |
|
|
uint32_t |
T |
|
) |
| |
|
inlineprotected |
| std::string agxStream::MD5Checksum::final |
( |
| ) |
|
|
protected |
| static std::string agxStream::MD5Checksum::getMD5 |
( |
const char * |
pBuf, |
|
|
size_t |
numBytes |
|
) |
| |
|
static |
Read numBytes from pBuf and create a MD5 checksum from the read data.
Will Throw std::runtime_error if error occurs.
- Returns
- string with MD5 checksum based on in-data.
| static std::string agxStream::MD5Checksum::getMD5 |
( |
std::istream & |
stream | ) |
|
|
static |
Read from stream until end of file create a MD5 checksum from the read data.
Will Throw std::runtime_error if error occurs.
- Returns
- string with MD5 checksum based on in-data.
| static std::string agxStream::MD5Checksum::getMD5 |
( |
const std::string & |
strFilePath | ) |
|
|
static |
Read until end of file in file strFilePath and create a MD5 checksum from the read data.
Will Throw std::runtime_error if error occurs.
- Returns
- string with MD5 checksum based on in-data.
| static std::string agxStream::MD5Checksum::getMD5 |
( |
std::istream & |
stream, |
|
|
size_t |
numBytes |
|
) |
| |
|
static |
Read numBytes (or until end of stream) from stream and create a MD5 checksum from the read data.
Will Throw std::runtime_error if error occurs.
- Returns
- string with MD5 checksum based on in-data.
| void agxStream::MD5Checksum::GG |
( |
uint32_t & |
A, |
|
|
uint32_t |
B, |
|
|
uint32_t |
C, |
|
|
uint32_t |
D, |
|
|
uint32_t |
X, |
|
|
uint32_t |
S, |
|
|
uint32_t |
T |
|
) |
| |
|
inlineprotected |
| void agxStream::MD5Checksum::HH |
( |
uint32_t & |
A, |
|
|
uint32_t |
B, |
|
|
uint32_t |
C, |
|
|
uint32_t |
D, |
|
|
uint32_t |
X, |
|
|
uint32_t |
S, |
|
|
uint32_t |
T |
|
) |
| |
|
inlineprotected |
| void agxStream::MD5Checksum::II |
( |
uint32_t & |
A, |
|
|
uint32_t |
B, |
|
|
uint32_t |
C, |
|
|
uint32_t |
D, |
|
|
uint32_t |
X, |
|
|
uint32_t |
S, |
|
|
uint32_t |
T |
|
) |
| |
|
inlineprotected |
| uint32_t agxStream::MD5Checksum::rotateLeft |
( |
uint32_t |
x, |
|
|
int |
n |
|
) |
| |
|
inlineprotected |
| void agxStream::MD5Checksum::transform |
( |
const char |
Block[64] | ) |
|
|
protected |
| void agxStream::MD5Checksum::update |
( |
const char * |
Input, |
|
|
size_t |
nInputLen |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: