create new static keys by X25519Keys

This commit is contained in:
orignal 2018-11-01 10:43:31 -04:00
parent df3da8be7a
commit 34cfd205f6
3 changed files with 15 additions and 4 deletions

View file

@ -72,6 +72,7 @@ namespace crypto
void GenerateKeys ();
const uint8_t * GetPublicKey () const { return m_PublicKey; };
void GetPrivateKey (uint8_t * priv) const;
void Agree (const uint8_t * pub, uint8_t * shared);
private: