diff --git a/services/core/ability/utils/include/encrypt_utils.h b/services/core/ability/utils/include/encrypt_utils.h index 0f8b53e44b52cd44b3c62eb7557a2d7093279c73..b277216b53d0906db16501fe532e023ab1242a4d 100644 --- a/services/core/ability/utils/include/encrypt_utils.h +++ b/services/core/ability/utils/include/encrypt_utils.h @@ -30,16 +30,6 @@ static const std::string ENCRYPT_STR = "****"; class EncryptUtils { public: - static int64_t GetRand(int32_t min, int32_t max) - { - // 随机 min ~ max值 - if (max < min) { - return min; - } - srand(time(nullptr)); - return min + rand() % (max - min); - } - static std::string EncryptUrl(const std::string &url) { std::string encryptUrl = url;