#include "quiche/http2/test_tools/http2_random.h"
#include <string>
#include "absl/strings/escaping.h"
#include "openssl/chacha.h"
#include "openssl/rand.h"
#include "quiche/common/platform/api/quiche_logging.h"
static const uint8_t kZeroNonce[12] = …;
namespace http2 {
namespace test {
Http2Random::Http2Random() { … }
Http2Random::Http2Random(absl::string_view key) { … }
std::string Http2Random::Key() const { … }
void Http2Random::FillRandom(void* buffer, size_t buffer_size) { … }
std::string Http2Random::RandString(int length) { … }
uint64_t Http2Random::Rand64() { … }
double Http2Random::RandDouble() { … }
std::string Http2Random::RandStringWithAlphabet(int length,
absl::string_view alphabet) { … }
}
}