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

Method Encrypt

libi2pd/RouterInfo.cpp:1015–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013 }
1014
1015 void RouterInfo::Encrypt (const uint8_t * data, uint8_t * encrypted) const
1016 {
1017 auto encryptor = m_RouterIdentity->CreateEncryptor (nullptr);
1018 if (encryptor)
1019 encryptor->Encrypt (data, encrypted);
1020 }
1021
1022 bool RouterInfo::IsEligibleFloodfill () const
1023 {

Callers

nothing calls this directly

Calls 1

CreateEncryptorMethod · 0.80

Tested by

no test coverage detected