|
Data_deduplication_service
Service that will use hashes to deduplicate files
|
#include <array>#include <string>#include <sstream>#include <iomanip>#include <openssl/core.h>#include <openssl/sha.h>#include <openssl/md5.h>#include <openssl/md4.h>#include <openssl/md2.h>
Include dependency graph for HashUtils.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| hash_utils | |
| hash utils namespace | |
Enumerations | |
| enum | hash_utils::hash_function { hash_utils::SHA_224 , hash_utils::SHA_256 , hash_utils::MD_5 , hash_utils::SHA_384 , hash_utils::SHA_512 , hash_utils::MD_4 } |
Functions | |
| template<hash_function hash = MD_5> | |
| std::string | hash_utils::getHashStr (std::string_view stringView) |
| std::string | hash_utils::stringToHex (std::string_view in) |
| std::string | hash_utils::hexToString (std::string_view in) |
Variables | |
| constexpr std::array< unsigned char *(*)(const unsigned char *d, size_t n, unsigned char *md), 6 > | hash_utils::funcs |