MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / Encrypt

Method Encrypt

libi2pd/CryptoKey.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 void ElGamalEncryptor::Encrypt (const uint8_t * data, uint8_t * encrypted)
24 {
25 ElGamalEncrypt (m_PublicKey, data, encrypted);
26 }
27
28 ElGamalDecryptor::ElGamalDecryptor (const uint8_t * priv)
29 {

Callers

nothing calls this directly

Calls 3

ElGamalEncryptFunction · 0.85
ECIESEncryptFunction · 0.85
GetGroupMethod · 0.80

Tested by

no test coverage detected