Add x25519 default constructor
parent
08b9e21e5a
commit
0d17eea82c
|
|
@ -66,6 +66,13 @@ public:
|
|||
|
||||
virtual ~x25519() {}
|
||||
|
||||
/// \brief Create a x25519 object
|
||||
/// \details This constructor creates an empty x25519 object. It is
|
||||
/// intended for use in loading existing parameters, like CryptoBox
|
||||
/// parameters. If you are perfoming key agreement you should use a
|
||||
/// constructor that generates random parameters on construction.
|
||||
x25519() {}
|
||||
|
||||
/// \brief Create a x25519 object
|
||||
/// \param y public key
|
||||
/// \param x private key
|
||||
|
|
|
|||
Loading…
Reference in New Issue