Broken cryptographic hashes, must not be used except for compatibility.
Functions | |
std::string | Md5 (std::string_view data, OutputEncoding encoding=OutputEncoding::kHex) |
Calculates MD5, output format depends on encoding param. | |
std::string | Md5 (std::initializer_list< std::string_view > data, OutputEncoding encoding=OutputEncoding::kHex) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
std::string crypto::hash::weak::Md5 | ( | std::string_view | data, |
OutputEncoding | encoding = OutputEncoding::kHex |
||
) |
Calculates MD5, output format depends on encoding param.
data | binary data to calculate hash from |
encoding | result could be returned as binary string or encoded |
CryptoException | internal library exception |