Unify all code for generating random data into functions in utils

This commit is contained in:
Vibhav Pant
2023-09-13 18:53:36 +05:30
parent f4c487188a
commit e754f3bee4
5 changed files with 106 additions and 67 deletions
@@ -27,6 +27,10 @@ namespace nearby {
namespace linux {
std::optional<Uuid> UuidFromString(const std::string &uuid_str);
std::optional<std::string> NewUuidStr();
std::string RandSSID();
std::string RandWPAPassphrase();
} // namespace linux
} // namespace nearby