Passwordfile library  3.1.2
C++ library to read/write passwords from/to encrypted files
Public Member Functions | List of all members
Util::OpenSslRandomDevice Class Reference

Provides a random device using the OpenSSL function RAND_bytes(). More...

#include <opensslrandomdevice.h>

Public Member Functions

 OpenSslRandomDevice ()
 Constructs a new random device. More...
 
uint32 operator() () const
 Generates a new random number. More...
 
bool status () const
 Returns the status. More...
 

Detailed Description

Provides a random device using the OpenSSL function RAND_bytes().

Definition at line 10 of file opensslrandomdevice.h.

Constructor & Destructor Documentation

Util::OpenSslRandomDevice::OpenSslRandomDevice ( )

Constructs a new random device.

Definition at line 29 of file opensslrandomdevice.cpp.

Member Function Documentation

uint32 Util::OpenSslRandomDevice::operator() ( ) const

Generates a new random number.

Definition at line 35 of file opensslrandomdevice.cpp.

bool Util::OpenSslRandomDevice::status ( ) const

Returns the status.

Definition at line 56 of file opensslrandomdevice.cpp.


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