Fabcoin Core
0.16.2
P2P Digital Currency
|
Generator for non-repeating nonce material. More...
#include <Common.h>
Static Public Member Functions | |
static Secret | get () |
Returns the next nonce (might be read from a file). More... | |
Private Member Functions | |
Nonce ()=default | |
Secret | next () |
Private Attributes | |
std::mutex | x_value |
Secret | m_value |
Generator for non-repeating nonce material.
The Nonce class should only be used when a non-repeating nonce is required and, in its current form, not recommended for signatures. This is primarily because the key-material for signatures is encrypted on disk whereas the seed for Nonce is not. Thus, Nonce's primary intended use at this time is for networking where the key is also stored in plaintext.
|
privatedefault |
|
inlinestatic |
|
private |
Definition at line 335 of file Common.cpp.