aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
SecureRandom.h
Go to the documentation of this file.
1 #pragma once
2 
6 #include <aws/crt/Exports.h>
7 #include <aws/crt/Types.h>
8 
9 namespace Aws
10 {
11  namespace Crt
12  {
13  namespace Crypto
14  {
15  bool AWS_CRT_CPP_API GenerateRandomBytes(ByteBuf &output, size_t lengthToGenerate);
16  }
17  } // namespace Crt
18 } // namespace Aws
#define AWS_CRT_CPP_API
Definition: Exports.h:36
bool AWS_CRT_CPP_API GenerateRandomBytes(ByteBuf &output, size_t lengthToGenerate)
Definition: SecureRandom.cpp:15
aws_byte_buf ByteBuf
Definition: Types.h:30
Definition: Allocator.h:10