Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
+ Collaboration diagram for Message Digests:

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 265 of file md5.cpp.

References MD5::digest_hex().

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

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

Definition at line 269 of file md5.cpp.

References MD5::digest_hex().

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 273 of file md5.cpp.

References MD5::digest_hex_uc().

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 277 of file md5.cpp.

References MD5::digest_hex_uc().

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.

References SHA1::digest_hex().

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.

References SHA1::digest_hex().

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.

References SHA1::digest_hex_uc().

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.

References SHA1::digest_hex_uc().

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.

References SHA256::digest_hex().

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.

References SHA256::digest_hex().

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.

References SHA256::digest_hex_uc().

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.

References SHA256::digest_hex_uc().

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

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

Definition at line 256 of file sha512.cpp.

References SHA512::digest_hex().

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

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

Definition at line 260 of file sha512.cpp.

References SHA512::digest_hex().

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 264 of file sha512.cpp.

References SHA512::digest_hex_uc().

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 268 of file sha512.cpp.

References SHA512::digest_hex_uc().