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