MD5 hash generator.
More...
#include <md5.hpp>
|
typedef std::array< std::uint8_t, 16 > | digest_t |
|
(Note that these are not member symbols.)
|
md5_t::digest_t | md5 (void *input_block, std::size_t input_length) |
Definition at line 94 of file md5.hpp.
◆ digest_t
typedef std::array<std::uint8_t, 16> digest_t |
Type used to store the digest result of an MD5 hash
Definition at line 96 of file md5.hpp.
◆ md5_t()
◆ update()
void update |
( |
void * | input_block, |
|
|
std::size_t | input_length ) |
Includes a block of data in the MD5 hash being performed.
- Parameters
-
input_block | The block of data to be hashed |
input_length | Length in bytes of the input data |
◆ final()
Finalizes the input hash and clears the MD5 hash state information
- Returns
- An MD5 digest of the input blocks specified
◆ md5()
Quick and dirty MD5 hash function for a single input block
- Parameters
-
input_block | The block of data to be hashed |
input_length | Length in bytes of the input data |
- Returns
- An MD5 digest of the input block for the length specified
Definition at line 124 of file md5.hpp.