Index: crypto/random.h |
diff --git a/crypto/random.h b/crypto/random.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9366f1a7972f8e280f83f7c3857ad838fd00bcc3 |
--- /dev/null |
+++ b/crypto/random.h |
@@ -0,0 +1,14 @@ |
+// Copyright (c) 2011 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 CRYPTO_RANDOM_H_ |
+#define CRYPTO_RANDOM_H_ |
+#pragma once |
+ |
+#include <string> |
+ |
+void GetRandomBytes(char* output, int output_length); |
agl
2011/04/26 13:59:37
Needs a comment. The first argument should probabl
|
+std::string Generate128BitRandomHexString(); |
agl
2011/04/26 13:59:37
// Generate128BitRandomHexString returns a string
|
+ |
+#endif // CRYPTO_RANDOM_H_ |