1 // Copyright 2020 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 UTIL_CRYPTO_RANDOM_BYTES_H_ 6 #define UTIL_CRYPTO_RANDOM_BYTES_H_ 7 8 #include <array> 9 #include <cstdint> 10 11 namespace openscreen { 12 13 std::array<uint8_t, 16> GenerateRandomBytes16(); 14 void GenerateRandomBytes(uint8_t* out, int len); 15 16 } // namespace openscreen 17 18 #endif // UTIL_CRYPTO_RANDOM_BYTES_H_ 19