mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
encryptor for ECIES-X25519-AEAD-Ratchet
This commit is contained in:
parent
db84be2488
commit
9f79bdae9b
8 changed files with 52 additions and 4 deletions
|
@ -80,6 +80,7 @@ namespace crypto
|
|||
void GenerateKeys ();
|
||||
const uint8_t * GetPublicKey () const { return m_PublicKey; };
|
||||
void GetPrivateKey (uint8_t * priv) const;
|
||||
void SetPrivateKey (const uint8_t * priv); // wihout calculating public
|
||||
void Agree (const uint8_t * pub, uint8_t * shared);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue