Skip to content

Commit 6d6fd4a

Browse files
authored
v1.5
1 parent e0638ca commit 6d6fd4a

1 file changed

Lines changed: 23 additions & 28 deletions

File tree

README.rst

Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
python-proxy
22
============
33

4-
|made-with-python| |PyPI-version| |PyPI-license| |PyPI-format| |Hit-Count| |GitHub-stars|
4+
|made-with-python| |PyPI-version| |Hit-Count| |GitHub-stars|
55

66
.. |made-with-python| image:: https://img.shields.io/badge/Made%20with-Python-1f425f.svg
77
:target: https://www.python.org/
88
.. |PyPI-version| image:: https://badge.fury.io/py/pproxy.svg
99
:target: https://pypi.python.org/pypi/pproxy/
10-
.. |PyPI-license| image:: https://img.shields.io/pypi/l/pproxy.svg
11-
:target: https://pypi.python.org/pypi/pproxy/
12-
.. |PyPI-format| image:: https://img.shields.io/pypi/format/pproxy.svg
13-
:target: https://pypi.python.org/pypi/pproxy/
1410
.. |Hit-Count| image:: http://hits.dwyl.io/qwj/python-proxy.svg
1511
:target: https://pypi.python.org/pypi/pproxy/
1612
.. |GitHub-stars| image:: https://img.shields.io/github/stars/qwj/python-proxy.svg?style=social&label=Star&maxAge=2592000
@@ -157,49 +153,46 @@ URI Syntax
157153
+=================+============+===========+=============+
158154
| table-py | any | 0 | 0 (lowest) |
159155
+-----------------+------------+-----------+-------------+
160-
| rc4, rc4-py | 16 | 0 | 0 (lowest) |
156+
| rc4 | 16 | 0 | 0 (lowest) |
161157
+-----------------+------------+-----------+-------------+
162158
| rc4-md5 | 16 | 16 | 0.5 |
163-
| | | | |
164-
| rc4-md5-py | | | |
165159
+-----------------+------------+-----------+-------------+
166160
| chacha20 | 32 | 8 | 5 (highest) |
167-
| | | | |
168-
| chacha20-py | | | |
169161
+-----------------+------------+-----------+-------------+
170-
| chacha20-ietf-py| 32 | 12 | 5 |
162+
| chacha20-ietf | 32 | 12 | 5 |
163+
+-----------------+------------+-----------+-------------+
164+
| chacha20-ietf- | | | |
165+
| poly1305-py | 32 | 32 | AEAD |
171166
+-----------------+------------+-----------+-------------+
172167
| salsa20 | 32 | 8 | 4.5 |
173-
| | | | |
174-
| salsa20-py | | | |
175168
+-----------------+------------+-----------+-------------+
176169
| aes-128-cfb | 16 | 16 | 3 |
177170
| | | | |
178-
| aes-128-cfb-py | | | |
171+
| aes-128-cfb8 | | | |
179172
| | | | |
180-
| aes-128-cfb8-py | | | |
181-
| | | | |
182-
| aes-128-cfb1-py | | | |
173+
| aes-128-cfb1-py | | | slow |
183174
+-----------------+------------+-----------+-------------+
184175
| aes-192-cfb | 24 | 16 | 3.5 |
185176
| | | | |
186-
| aes-192-cfb-py | | | |
187-
| | | | |
188-
| aes-192-cfb8-py | | | |
177+
| aes-192-cfb8 | | | |
189178
| | | | |
190-
| aes-192-cfb1-py | | | |
179+
| aes-192-cfb1-py | | | slow |
191180
+-----------------+------------+-----------+-------------+
192181
| aes-256-cfb | 32 | 16 | 4.5 |
193182
| | | | |
194-
| aes-256-cfb-py | | | |
183+
| aes-256-ctr | | | |
184+
| | | | |
185+
| aes-256-ofb | | | |
195186
| | | | |
196-
| aes-256-ctr-py | | | |
187+
| aes-256-cfb8 | | | |
197188
| | | | |
198-
| aes-256-ofb-py | | | |
189+
| aes-256-cfb1-py | | | slow |
190+
+-----------------+------------+-----------+-------------+
191+
| aes-256-gcm | 32 | 32 | AEAD |
199192
| | | | |
200-
| aes-256-cfb8-py | | | |
193+
| aes-192-gcm | 24 | 24 | AEAD |
201194
| | | | |
202-
| aes-256-cfb1-py | | | |
195+
| aes-128-gcm | 16 | 16 | AEAD |
203196
+-----------------+------------+-----------+-------------+
204197
| camellia-256-cfb| 32 | 16 | 4 |
205198
| | | | |
@@ -208,8 +201,6 @@ URI Syntax
208201
| camellia-128-cfb| 16 | 16 | 4 |
209202
+-----------------+------------+-----------+-------------+
210203
| bf-cfb | 16 | 8 | 1 |
211-
| | | | |
212-
| bf-cfb-py | | | |
213204
+-----------------+------------+-----------+-------------+
214205
| cast5-cfb | 16 | 8 | 2.5 |
215206
+-----------------+------------+-----------+-------------+
@@ -222,6 +213,8 @@ URI Syntax
222213
| seed-cfb-py | 16 | 16 | 2 |
223214
+-----------------+------------+-----------+-------------+
224215

216+
- All ciphers have pure python implementations. If there is C implementation available within pycryptodome_, program will switch to C version cipher.
217+
- AEAD ciphers use additional payload after each packet. The underlying protocol is different. Specifications: AEAD_.
225218
- Some pure python ciphers (aes-256-cfb1-py) is quite slow, and is not recommended to use without PyPy speedup. Try install pycryptodome_ and use C version cipher instead.
226219
- To enable OTA encryption with shadowsocks, add '!' immediately after cipher name.
227220
- netloc
@@ -238,6 +231,8 @@ URI Syntax
238231
- auth
239232
- The username, colon ':', and the password
240233

234+
.. _AEAD: http://shadowsocks.org/en/spec/AEAD-Ciphers.html
235+
241236
Examples
242237
--------
243238

0 commit comments

Comments
 (0)