//////////////////////////////////////////////////////////////////////////////// // Copyright 2016 Google Inc. // // This software is licensed under the terms defined in the Widevine Master // License Agreement. For a copy of this agreement, please contact // widevine-licensing@google.com. //////////////////////////////////////////////////////////////////////////////// #ifndef COMMON_RANDOM_UTIL_H_ #define COMMON_RANDOM_UTIL_H_ #include namespace widevine { // Generates a random string. // Return true on success, false otherwise. bool RandomBytes(size_t num_bytes, std::string* output); } // namespace widevine #endif // COMMON_RANDOM_UTIL_H_