Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: components/cryptauth/eid_generator_unittest.cc

Issue 2611913002: Tweak CryptauthDeviceManager to store fetched BeaconSeed data in Base64URL encoding, and retrieve i… (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cryptauth/eid_generator_unittest.cc
diff --git a/components/cryptauth/eid_generator_unittest.cc b/components/cryptauth/eid_generator_unittest.cc
index 8912647353fa5f76903507c45f993df0d59a9c1f..a0e35593b9bd932782462a48cc2dc0f9264c9add 100644
--- a/components/cryptauth/eid_generator_unittest.cc
+++ b/components/cryptauth/eid_generator_unittest.cc
@@ -39,12 +39,12 @@ const int64_t kDefaultCurrentPeriodStart = 1577836800000L;
// 1:43am on 1/1/2020.
const int64_t kDefaultCurrentTime = 1577843000000L;
-// Base64 encoded values for: "firstSeed", "secondSeed", "thirdSeed" and
-// "fourthSeed".
-const std::string kFirstSeed = "Zmlyc3RTZWVk";
-const std::string kSecondSeed = "c2Vjb25kU2VlZA==";
-const std::string kThirdSeed = "dGhpcmRTZWVk";
-const std::string kFourthSeed = "Zm91cnRoU2VlZA==";
+// The Base64 encoded values of these raw data strings are, respectively:
+// "Zmlyc3RTZWVk", "c2Vjb25kU2VlZA==", "dGhpcmRTZWVk","Zm91cnRoU2VlZA==".
+const std::string kFirstSeed = "firstSeed";
+const std::string kSecondSeed = "secondSeed";
+const std::string kThirdSeed = "thirdSeed";
+const std::string kFourthSeed = "fourthSeed";
const std::string kDefaultAdvertisingDevicePublicKey = "publicKey";
« components/cryptauth/cryptauth_device_manager.cc ('K') | « components/cryptauth/eid_generator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698