Index: remoting/host/pin_hash.h |
diff --git a/remoting/host/pin_hash.h b/remoting/host/pin_hash.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5fd3c813e0435019d5dc36393c8b74b4899cb66c |
--- /dev/null |
+++ b/remoting/host/pin_hash.h |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef REMOTING_HOST_PIN_HASH_H_ |
+#define REMOTING_HOST_PIN_HASH_H_ |
+ |
+#include <string> |
+ |
+namespace remoting { |
+ |
+// Hashes a host ID and a PIN. |
Wez
2012/04/30 23:13:57
Can we reword to indicate that it specifically pro
simonmorris
2012/05/01 00:25:55
Done.
|
+std::string GetPinHash(const std::string& host_id, const std::string& pin); |
Wez
2012/04/30 23:13:57
nit: GetPinHash -> MakePinHash() / MakeHostPinHash
simonmorris
2012/05/01 00:25:55
Done.
|
+ |
+} // namespace remoting |
+ |
+#endif // REMOTING_HOST_PIN_HASH_ |