Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CRYPTO_RANDOM_H_ | |
| 6 #define CRYPTO_RANDOM_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 void GetRandomBytes(char* output, int output_length); | |
|
agl
2011/04/26 13:59:37
Needs a comment. The first argument should probabl
| |
| 12 std::string Generate128BitRandomHexString(); | |
|
agl
2011/04/26 13:59:37
// Generate128BitRandomHexString returns a string
| |
| 13 | |
| 14 #endif // CRYPTO_RANDOM_H_ | |
| OLD | NEW |