/** ****************************************************************************** * @file : Utils.hpp * @author : Dream * @brief : None * @attention : None * @date : 24-10-3 ****************************************************************************** */ #ifndef UTILS_HPP #define UTILS_HPP #include // 生成 MD5 签名 class Utils { public: static std::string generate_md5(const std::string& data); // 生成随机数值 static std::string generate_value(time_t ×tamp); }; #endif // UTILS_HPP