| 
    Leosac
    0.7.0
    
   OpenSourceAccessControl 
   | 
 
#include <Random.hpp>
Static Public Member Functions | |
| static ByteVector | GetBytes (size_t n) | 
Generate n random bytes.  More... | |
| static std::string | GetASCII (size_t n) | 
| Return a random ASCII string.  More... | |
Static Private Attributes | |
| static std::mutex | mutex_ | 
| OpenSSL's random number generation is not thread-safe.  More... | |
Definition at line 28 of file Random.hpp.
      
  | 
  static | 
Return a random ASCII string.
Definition at line 41 of file Random.cpp.
      
  | 
  static | 
Generate n random bytes. 
| n | Size of random data. | 
Definition at line 29 of file Random.cpp.
      
  | 
  staticprivate | 
OpenSSL's random number generation is not thread-safe.
Definition at line 48 of file Random.hpp.