Electroneum
crypto::random_device Struct Reference

#include <crypto.h>

Public Types

typedef uint64_t result_type
 

Public Member Functions

result_type operator() () const
 

Static Public Member Functions

static constexpr result_type min ()
 
static constexpr result_type max ()
 

Detailed Description

Definition at line 224 of file crypto.h.

Member Typedef Documentation

◆ result_type

Definition at line 226 of file crypto.h.

Member Function Documentation

◆ max()

static constexpr result_type crypto::random_device::max ( )
inlinestatic

Definition at line 228 of file crypto.h.

228 { return result_type(-1); }
uint64_t result_type
Definition: crypto.h:226

◆ min()

static constexpr result_type crypto::random_device::min ( )
inlinestatic

Definition at line 227 of file crypto.h.

227 { return 0; }

◆ operator()()

result_type crypto::random_device::operator() ( ) const
inline

Definition at line 229 of file crypto.h.

229 { return crypto::rand<result_type>(); }

The documentation for this struct was generated from the following file: