md5-lib A high-performance C++17 library for calculating MD5 hashes
Loading...
Searching...
No Matches
md5.h
Go to the documentation of this file.
1#ifndef MD5_LIB_INCLUDE_MD5_H_
2#define MD5_LIB_INCLUDE_MD5_H_
3
4#include <istream>
5#include <string>
6
7namespace md5_lib {
8
21[[nodiscard]] std::string CalculateMD5(std::istream& stream);
22
36[[nodiscard]] std::string CalculateMD5(const unsigned char* data,
37 std::size_t size);
38
39} // namespace md5_lib
40
41#endif // MD5_LIB_INCLUDE_MD5_H_
Definition md5.h:7
std::string CalculateMD5(std::istream &stream)
Calculates the MD5 hash of a data stream.
Definition md5.cpp:253