Closed
Description
Original discussion: Tribler/tribler#6679 (partially reposted here to make it a formal IPv8 issue)
Summary:
The throughput of anonymized Tribler downloads can be almost doubled by implementing TunnelCrypto.encrypt_str
and TunnelCrypto.decrypt_str
in C.
A proof of concept - credit to @hbiyik - exists here:
https://github.com/qstokkink/py-ipv8/tree/compiled_evp
One change still needs to be made to the proof of concept: in case compilation fails the exisiting pure-Python implementation should be used as a fallback. Secondarily, the concept code could use a cleanup.
[EDIT] The above no longer works and there are no plans to fix the code.