#include <llmd5.h>
| Public Member Functions | |
| LLMD5 () | |
| void | update (const uint1 *input, const uint4 input_length) | 
| void | update (std::istream &stream) | 
| void | update (FILE *file) | 
| void | finalize () | 
| LLMD5 (const unsigned char *string) | |
| LLMD5 (std::istream &stream) | |
| LLMD5 (FILE *file) | |
| LLMD5 (const unsigned char *string, const unsigned int number) | |
| void | raw_digest (unsigned char *array) | 
| void | hex_digest (char *string) | 
| Private Types | |
| typedef unsigned int | uint4 | 
| typedef unsigned short int | uint2 | 
| typedef unsigned char | uint1 | 
| Private Member Functions | |
| void | init () | 
| void | transform (const uint1 *buffer) | 
| Static Private Member Functions | |
| static void | encode (uint1 *dest, const uint4 *src, const uint4 length) | 
| static void | decode (uint4 *dest, const uint1 *src, const uint4 length) | 
| Private Attributes | |
| uint4 | state [4] | 
| uint4 | count [2] | 
| uint1 | buffer [64] | 
| uint1 | digest [16] | 
| uint1 | finalized | 
| Static Private Attributes | |
| static const int | BLOCK_LEN = 4096 | 
| Friends | |
| std::ostream & | operator<< (std::ostream &, LLMD5 context) | 
Definition at line 82 of file llmd5.h.
| typedef unsigned char LLMD5::uint1  [private] | 
| typedef unsigned short int LLMD5::uint2  [private] | 
| typedef unsigned int LLMD5::uint4  [private] | 
| LLMD5::LLMD5 | ( | const unsigned char * | string | ) | 
| LLMD5::LLMD5 | ( | std::istream & | stream | ) | 
| LLMD5::LLMD5 | ( | FILE * | file | ) | 
| LLMD5::LLMD5 | ( | const unsigned char * | string, | |
| const unsigned int | number | |||
| ) | 
| void LLMD5::finalize | ( | ) | 
Definition at line 201 of file llmd5.cpp.
References buffer, count, digest, encode(), finalized, state, and update().
Referenced by LLUUID::combine(), LLUUID::generate(), get_serial_number(), LLUUID::getRandomSeed(), idle_startup(), LLMD5(), and main().
| void LLMD5::hex_digest | ( | char * | string | ) | 
Definition at line 294 of file llmd5.cpp.
References digest, finalized, and i.
Referenced by get_serial_number(), idle_startup(), operator<<(), and LLFloaterImport::postBuild().
| void LLMD5::init | ( | ) |  [private] | 
| void LLMD5::raw_digest | ( | unsigned char * | array | ) | 
Definition at line 278 of file llmd5.cpp.
References digest, and finalized.
Referenced by LLUUID::combine(), LLUUID::generate(), LLUUID::getRandomSeed(), and main().
| void LLMD5::update | ( | FILE * | file | ) | 
| void LLMD5::update | ( | std::istream & | stream | ) | 
Definition at line 104 of file llmd5.cpp.
References buffer, count, finalized, NULL, and transform().
Referenced by LLUUID::combine(), finalize(), LLUUID::generate(), get_serial_number(), LLUUID::getRandomSeed(), idle_startup(), LLMD5(), main(), and update().
| std::ostream& operator<< | ( | std::ostream & | stream, | |
| LLMD5 | context | |||
| ) |  [friend] | 
| const int LLMD5::BLOCK_LEN = 4096  [static, private] | 
| uint1 LLMD5::buffer[64]  [private] | 
| uint4 LLMD5::count[2]  [private] | 
| uint1 LLMD5::digest[16]  [private] | 
| uint1 LLMD5::finalized  [private] | 
Definition at line 121 of file llmd5.h.
Referenced by finalize(), hex_digest(), init(), raw_digest(), and update().
| uint4 LLMD5::state[4]  [private] | 
 1.4.7
 1.4.7