|
Porytiles
|
Computes the MD5 digest of an input stream. More...
#include <stream_digest.hpp>
Public Member Functions | |
| std::string | digest (std::istream &stream) const |
| Computes the MD5 digest of an input stream. | |
Computes the MD5 digest of an input stream.
Definition at line 17 of file stream_digest.hpp.
|
inline |
Computes the MD5 digest of an input stream.
Reads the given input stream and computes the MD5 hash of its contents. The stream is read from its current position until the end. The stream's position is not restored after reading. The MD5 algorithm processes the data in 512-bit blocks and produces a 128-bit hash value represented as a 32-character hexadecimal string.
| stream | The input stream to digest. |
Definition at line 30 of file stream_digest.hpp.