mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
create new static keys by X25519Keys
This commit is contained in:
parent
df3da8be7a
commit
34cfd205f6
3 changed files with 15 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue