#include "remoting/host/pin_hash.h"
#include "base/base64.h"
#include "base/logging.h"
#include "base/strings/string_split.h"
#include "remoting/protocol/auth_util.h"
#include "remoting/protocol/me2me_host_authenticator_factory.h"
namespace remoting {
bool ParsePinHashFromConfig(const std::string& value,
const std::string& host_id,
std::string* pin_hash_out) { … }
std::string MakeHostPinHash(const std::string& host_id,
const std::string& pin) { … }
bool VerifyHostPinHash(const std::string& hash,
const std::string& host_id,
const std::string& pin) { … }
}