|
@ -189,6 +189,12 @@ h256 kdf(Secret const& _priv, h256 const& _hash); |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* @brief Generator for nonce material. |
|
|
* @brief Generator for 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. |
|
|
*/ |
|
|
*/ |
|
|
class Nonce |
|
|
class Nonce |
|
|
{ |
|
|
{ |
|
|