Passwordfile library
4.0.0
C++ library to read/write passwords from/to encrypted files
|
Provides a random device using the OpenSSL function RAND_bytes(). More...
#include <opensslrandomdevice.h>
Public Types | |
using | result_type = uint32 |
Public Member Functions | |
OpenSslRandomDevice () | |
Constructs a new random device. More... | |
result_type | operator() () const |
Generates a new random number. More... | |
bool | status () const |
Returns the status. More... | |
Static Public Member Functions | |
static constexpr result_type | min () |
static constexpr result_type | max () |
Provides a random device using the OpenSSL function RAND_bytes().
Definition at line 12 of file opensslrandomdevice.h.
using Util::OpenSslRandomDevice::result_type = uint32 |
Definition at line 14 of file opensslrandomdevice.h.
Util::OpenSslRandomDevice::OpenSslRandomDevice | ( | ) |
Constructs a new random device.
Definition at line 24 of file opensslrandomdevice.cpp.
|
static |
Definition at line 28 of file opensslrandomdevice.h.
|
static |
Definition at line 23 of file opensslrandomdevice.h.
OpenSslRandomDevice::result_type Util::OpenSslRandomDevice::operator() | ( | ) | const |
Generates a new random number.
Definition at line 31 of file opensslrandomdevice.cpp.
bool Util::OpenSslRandomDevice::status | ( | ) | const |
Returns the status.
Definition at line 53 of file opensslrandomdevice.cpp.