![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRandom.h>
Public Member Functions | |
cRandomBlock (const void *pData, size_t nSize) noexcept | |
virtual HRESULT | GetNoise (void *pData, size_t len) override |
fill array with random bytes. return # bytes filled. More... | |
Public Attributes | |
cMemBlock | m_Src |
size_t | m_nOffset |
Hold a blob of random data. Acts as a one time cipher. Supply test 'random' data. (e.g. maybe not random at all)
|
inlinenoexcept |
|
inlineoverridevirtual |
fill array with random bytes. return # bytes filled.
Get sample random data bytes
Implements Gray::IRandomNoise.
size_t Gray::cRandomBlock::m_nOffset |
cMemBlock Gray::cRandomBlock::m_Src |