Electroneum
Loading...
Searching...
No Matches
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()

constexpr result_type crypto::random_device::max ( )
inlinestaticconstexpr

Definition at line 228 of file crypto.h.

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

◆ min()

constexpr result_type crypto::random_device::min ( )
inlinestaticconstexpr

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>(); }
std::enable_if< std::is_pod< T >::value, T >::type rand()
Definition crypto.h:216
Here is the call graph for this function:

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/crypto/crypto.h