Home
last modified time | relevance | path

Searched refs:encryptUrl (Results 1 – 1 of 1) sorted by relevance

/base/update/updateservice/services/core/ability/utils/include/
Dencrypt_utils.h45 std::string encryptUrl = url; in EncryptUrl() local
50 if (encryptUrl.compare(0, httpsPrefix.size(), httpsPrefix) == 0) { in EncryptUrl()
51 encryptUrl.replace(httpsPrefix.size(), ENCRYPT_LENGTH, ENCRYPT_STR); in EncryptUrl()
52 return encryptUrl; in EncryptUrl()
54 if (encryptUrl.compare(0, httpPrefix.size(), httpPrefix) == 0) { in EncryptUrl()
55 encryptUrl.replace(httpPrefix.size(), ENCRYPT_LENGTH, ENCRYPT_STR); in EncryptUrl()
56 return encryptUrl; in EncryptUrl()
58 return encryptUrl; in EncryptUrl()