10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::crypto::win::cng::WinCNGRandomBytes Class Reference

#include <WinCNGRandomBytes.h>

Detailed Description

A WinCNG implementation of tenduke::utl::random::RandomBytes.

Inheritance diagram for tenduke::crypto::win::cng::WinCNGRandomBytes:
tenduke::utl::random::RandomBytes

Public Member Functions

void generate (unsigned char *buffer, std::size_t bufferLength) override
 Fills the given buffer with random bytes.
 

Member Function Documentation

◆ generate()

void tenduke::crypto::win::cng::WinCNGRandomBytes::generate ( unsigned char * buffer,
std::size_t bufferLength )
overridevirtual

Fills the given buffer with random bytes.

Parameters
bufferthe buffer
bufferLengthsize of the buffer in bytes

Implements tenduke::utl::random::RandomBytes.


The documentation for this class was generated from the following files: