Welcome to mirror list, hosted at ThFree Co, Russian Federation.

utils.cpp « web_api - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 504398095c2aa0ab42d51a0af427f05a770a61d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "web_api/utils.hpp"

#include "platform/platform.hpp"

#include "coding/sha1.hpp"

namespace web_api
{
std::string DeviceId()
{
  return coding::SHA1::CalculateBase64ForString(GetPlatform().UniqueClientId());
}
}  // namespace web_api