Chromium Code Reviews| Index: src/v8.h |
| =================================================================== |
| --- src/v8.h (revision 8657) |
| +++ src/v8.h (working copy) |
| @@ -91,6 +91,9 @@ |
| static void FatalProcessOutOfMemory(const char* location, |
| bool take_snapshot = false); |
| + // Allows a cryptographically safe entropy source to be provided |
|
Mads Ager (chromium)
2011/07/17 08:59:12
Let's remove the cryptographically safe part.
|
| + // for use in random number generation. |
| + static void SetEntropySource(EntropySource source); |
| // Random number generation support. Not cryptographically safe. |
| static uint32_t Random(Isolate* isolate); |
| // We use random numbers internally in memory allocation and in the |