tlx
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages

Message Digests: MD-5, SHA-256, and SHA-512. More...

Classes

class  MD5
 MD-5 processor without external dependencies. More...
 
class  SHA1
 SHA-1 processor without external dependencies. More...
 
class  SHA256
 SHA-256 processor without external dependencies. More...
 
class  SHA512
 SHA-512 processor without external dependencies. More...
 

Functions

std::string md5_hex (const void *data, uint32_t size)
 process data and return 16 byte (128 bit) digest hex encoded More...
 
std::string md5_hex (const std::string &str)
 process data and return 16 byte (128 bit) digest hex encoded More...
 
std::string md5_hex_uc (const void *data, uint32_t size)
 process data and return 16 byte (128 bit) digest upper-case hex encoded More...
 
std::string md5_hex_uc (const std::string &str)
 process data and return 16 byte (128 bit) digest upper-case hex encoded More...
 
std::string sha1_hex (const void *data, uint32_t size)
 process data and return 20 byte (160 bit) digest hex encoded More...
 
std::string sha1_hex (const std::string &str)
 process data and return 20 byte (160 bit) digest hex encoded More...
 
std::string sha1_hex_uc (const void *data, uint32_t size)
 process data and return 20 byte (160 bit) digest upper-case hex encoded More...
 
std::string sha1_hex_uc (const std::string &str)
 process data and return 20 byte (160 bit) digest upper-case hex encoded More...
 
std::string sha256_hex (const void *data, uint32_t size)
 process data and return 32 byte (256 bit) digest hex encoded More...
 
std::string sha256_hex (const std::string &str)
 process data and return 32 byte (256 bit) digest hex encoded More...
 
std::string sha256_hex_uc (const void *data, uint32_t size)
 process data and return 32 byte (256 bit) digest upper-case hex encoded More...
 
std::string sha256_hex_uc (const std::string &str)
 process data and return 32 byte (256 bit) digest upper-case hex encoded More...
 
std::string sha512_hex (const void *data, uint32_t size)
 process data and return 64 byte (512 bit) digest hex encoded More...
 
std::string sha512_hex (const std::string &str)
 process data and return 64 byte (512 bit) digest hex encoded More...
 
std::string sha512_hex_uc (const void *data, uint32_t size)
 process data and return 64 byte (512 bit) digest upper-case hex encoded More...
 
std::string sha512_hex_uc (const std::string &str)
 process data and return 64 byte (512 bit) digest upper-case hex encoded More...
 

Detailed Description

Message Digests: MD-5, SHA-256, and SHA-512.

Function Documentation

std::string md5_hex ( const void *  data,
uint32_t  size 
)

process data and return 16 byte (128 bit) digest hex encoded

Definition at line 271 of file md5.cpp.

std::string md5_hex ( const std::string &  str)

process data and return 16 byte (128 bit) digest hex encoded

Definition at line 275 of file md5.cpp.

std::string md5_hex_uc ( const void *  data,
uint32_t  size 
)

process data and return 16 byte (128 bit) digest upper-case hex encoded

Definition at line 279 of file md5.cpp.

std::string md5_hex_uc ( const std::string &  str)

process data and return 16 byte (128 bit) digest upper-case hex encoded

Definition at line 283 of file md5.cpp.

std::string sha1_hex ( const void *  data,
uint32_t  size 
)

process data and return 20 byte (160 bit) digest hex encoded

Definition at line 222 of file sha1.cpp.

std::string sha1_hex ( const std::string &  str)

process data and return 20 byte (160 bit) digest hex encoded

Definition at line 226 of file sha1.cpp.

std::string sha1_hex_uc ( const void *  data,
uint32_t  size 
)

process data and return 20 byte (160 bit) digest upper-case hex encoded

Definition at line 230 of file sha1.cpp.

std::string sha1_hex_uc ( const std::string &  str)

process data and return 20 byte (160 bit) digest upper-case hex encoded

Definition at line 234 of file sha1.cpp.

std::string sha256_hex ( const void *  data,
uint32_t  size 
)

process data and return 32 byte (256 bit) digest hex encoded

Definition at line 238 of file sha256.cpp.

std::string sha256_hex ( const std::string &  str)

process data and return 32 byte (256 bit) digest hex encoded

Definition at line 242 of file sha256.cpp.

std::string sha256_hex_uc ( const void *  data,
uint32_t  size 
)

process data and return 32 byte (256 bit) digest upper-case hex encoded

Definition at line 246 of file sha256.cpp.

std::string sha256_hex_uc ( const std::string &  str)

process data and return 32 byte (256 bit) digest upper-case hex encoded

Definition at line 250 of file sha256.cpp.

std::string sha512_hex ( const void *  data,
uint32_t  size 
)

process data and return 64 byte (512 bit) digest hex encoded

Definition at line 257 of file sha512.cpp.

std::string sha512_hex ( const std::string &  str)

process data and return 64 byte (512 bit) digest hex encoded

Definition at line 261 of file sha512.cpp.

std::string sha512_hex_uc ( const void *  data,
uint32_t  size 
)

process data and return 64 byte (512 bit) digest upper-case hex encoded

Definition at line 265 of file sha512.cpp.

std::string sha512_hex_uc ( const std::string &  str)

process data and return 64 byte (512 bit) digest upper-case hex encoded

Definition at line 269 of file sha512.cpp.