Lines Matching refs:Crypto
52 int32_t ret = Crypto::GetSecRandom(buffer, len);
62 std::string salt = Crypto::GetSecSalt();
76 EXPECT_EQ(Crypto::GetUdidHash(UDID_SAMPLE, reinterpret_cast<uint8_t *>(udidHash)), DM_OK);
90 std::string salt1 = Crypto::GetSecSalt();
91 std::string salt2 = Crypto::GetSecSalt();
93 std::string hash1 = Crypto::GetHashWithSalt(text1, salt1);
94 std::string hash2 = Crypto::GetHashWithSalt(text1, salt2);
100 std::string hash3 = Crypto::GetHashWithSalt(text1, salt1);
101 std::string hash4 = Crypto::GetHashWithSalt(text2, salt1);
106 std::string hash5 = Crypto::GetHashWithSalt(text2, salt1);
111 std::string hash6 = Crypto::GetHashWithSalt(text1, salt2);