Comments (12)
thanks for the work. waiting for result of your benchmark. 👍
from python-proxy.
really appreciate your help. as the result suggests, I am planning to move to cryptography soon.
from python-proxy.
asyncssh requires cryptography, different library from pycrypto.
cryptography and pycryptodome can be used together without problems.
😄
from python-proxy.
I am thinking of using only one of the two libraries to simplify the dependencies.
It may be good to switch from pycryptodome to cryptography in our project.
from python-proxy.
can we have some benchmarks comparing pycryptodome
and cryptography
?
from python-proxy.
there is an old benchmark two years ago: http://nlitsme.github.io/posts/benchmarking-some-python-crypto-libraries/
from python-proxy.
I know that pycryptodome
and pycrypto
are drop-in replacements for one another. But I think using cryptography
instead of pycryptodome
requires some modifications in the code, right?
from python-proxy.
sure, code should be modified and more tests should be done.
from python-proxy.
I'm working on changing the Docker image from Alpine to Tinycore to have glibc
to provide ssh tunnel as well as crypto acceleration. After that, I'll try to write some scripts to benchmark crypto speed. I'm guessing you want to keep things as lean as possible (so am I) so we'll think of something after the benchmark
from python-proxy.
https://github.com/mosajjal/python-crypto-benchmark
take a look at this project. Very basic benchmarks. Let me know if there's anything I can help with. My understanding is, cryptography is just as good maybe even better.
from python-proxy.
after several days of investigation, cryptography design is redundant.
for example, it has a design of changing backend, and now it is obsolete.
you should call get_default_backend() every time.
many useful apis have been labeled "hazardous materials"
so I don't think it is the right time to move from pycryptodome to cryptography
let's wait if there is some important reason in the future.
from python-proxy.
I agree. We could wait for a couple of months to see if any crypto library with Rust backend gets introduced as well
from python-proxy.
Related Issues (20)
- Monitor bandwidth usage ? HOT 3
- Define port for outgoing packets
- socks5 udp无法使用
- http proxy fail for pproxy -l http://:9000/ -r http://httpbin.org/ -v HOT 1
- Empty reply from proxy server - even when remote target port is closed HOT 1
- Question about iptables
- Backward Proxy GET => Empty reply from server
- Dynamically set a username and password for the remote proxy
- How to print all request headers
- Possibility of redirecting traffic to warp?
- how to set systme proxy in python code,like 'dict(rserver=[remote])' ?
- Rules seem to be ignored with 'direct' HOT 3
- 有没有办法拦截特定的路径并返回特定的响应 HOT 1
- ProxyBackward' object has no attribute 'sockets
- feature request, proxy bypass
- HTTPS request
- rules file not work. HOT 1
- How to support multiple usernames and passwords
- Protocol table
- python-proxy如何获取用户来源IP? How to get user source ip? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-proxy.