Open snipem opened 7 months ago
Shall I try to convert by this? Have you tried it already?
(nice to meet you. I find this tool useful.)
I think the pure-salsa20 would be the best route. If you try to port, use this and maybe do some cpu benchmarks on decoding. I do not multiply the current CPU usage.
Python 3.12 removed
imp
packages which are used bysalsa20
.This should be ported to https://pycryptodome.readthedocs.io/en/latest/src/cipher/salsa20.html . Which should also reduce the pain for Windows users that have to install C++ redistributables.
I have tried https://pypi.org/project/pure-salsa20/ in the past but it is about 1000 times slower than
salsa20
. This leads to some heavy CPU usage.