// // Created by Francesco Laurita on 6/3/16. // #ifndef SPEEDTEST_MD5UTIL_H #define SPEEDTEST_MD5UTIL_H #if defined(__APPLE__) # define COMMON_DIGEST_FOR_OPENSSL # include #include # define SHA1 CC_SHA1 #else # include #endif class MD5Util { public: static std::string hexDigest(const std::string &str); }; #endif //SPEEDTEST_MD5UTIL_H