Chromium Code Reviews| Index: crypto/random.cc |
| diff --git a/crypto/random.cc b/crypto/random.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6d94ea5fecfe3060039ef285d99bc6f3e24b9d01 |
| --- /dev/null |
| +++ b/crypto/random.cc |
| @@ -0,0 +1,16 @@ |
| +// 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. |
| + |
| +#include "crypto/random.h" |
| + |
| +#include "base/rand_util.h" |
| + |
| +namespace crypto { |
| + |
| +void RandBytes(void *bytes, size_t length) { |
| + base::RandBytes(bytes, length); |
|
Ryan Sleevi
2012/07/31 23:03:48
nit: Add a comment explaining the rationale for th
|
| +} |
| + |
| +} // namespace crypto |
| + |
|
Ryan Sleevi
2012/07/31 23:03:48
delete blank line
|