mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
call RoutingDestination::Encrypt instead ElGamalEncrypt
This commit is contained in:
@@ -76,8 +76,7 @@ namespace data
|
||||
|
||||
// implements RoutingDestination
|
||||
std::shared_ptr<const IdentityEx> GetIdentity () const { return m_Identity; };
|
||||
const uint8_t * GetEncryptionPublicKey () const { return m_EncryptionKey; }; // deprecated
|
||||
void Encrypt (const uint8_t * data, uint8_t * encrypted, BN_CTX * ctx);
|
||||
void Encrypt (const uint8_t * data, uint8_t * encrypted, BN_CTX * ctx) const;
|
||||
bool IsDestination () const { return true; };
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user