diff options
Diffstat (limited to 'base/rand_util.h')
-rw-r--r-- | base/rand_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/rand_util.h b/base/rand_util.h index 4474c02..8d795a3 100644 --- a/base/rand_util.h +++ b/base/rand_util.h @@ -38,9 +38,9 @@ BASE_EXPORT double BitsToOpenEndedUnitInterval(uint64 bits); BASE_EXPORT void RandBytes(void* output, size_t output_length); // Fills a string of length |length| with with cryptographically strong random -// data and returns it. +// data and returns it. |length| should be nonzero. // -// Not that this is a variation of |RandBytes| with a different return type. +// Note that this is a variation of |RandBytes| with a different return type. BASE_EXPORT std::string RandBytesAsString(size_t length); } // namespace base |