54 Commits
Author SHA1 Message Date
破娃酱 a407bcc568 add auth_aes128 2016-09-26 19:24:39 +08:00
BreakWa11 acb3eb2910 compatible python3 2016-06-21 22:42:55 +08:00
BreakWa11 44598a070d compatible python3 2016-06-21 21:29:34 +08:00
BreakWa11 8031337d65 compatible python3 2016-06-21 21:04:41 +08:00
BreakWa11 ce189ecd85 remove useless log
add openssl rand_bytes
2016-05-25 22:21:17 +08:00
BreakWa11 42a05d22d6 support UDP protocol plugin 2015-12-23 18:13:27 +08:00
BreakWa11 8826629741 fix http_simple calc 'head_size'
add 'iv', 'key', 'head_len' in server_info
2015-11-16 17:10:39 +08:00
BreakWa11 126afea524 delete buffer 2015-10-22 10:41:40 +08:00
BreakWa11 041a5c1046 optimize decrypt
first recv size < iv_len will cause decrypt error
2015-10-21 22:02:22 +08:00
breakwa11 61959945c3 revert encrypt.py
new obfs header
2015-08-27 16:41:00 +08:00
breakwa11 928c26e4f2 fix some exceptions 2015-08-15 12:47:14 +08:00
breakwa11 f2efed9608 add manyuser branch
support udp over tcp
support chacha20 & salsa20 (base on libsodium)
2015-06-08 20:03:10 +08:00
clowwindy 318d88ec89 use string more 2015-02-03 18:09:07 +08:00
clowwindy ce805f0aea license under Apache License v2.0 2015-02-03 14:10:36 +08:00
clowwindy 80b8bd7014 remove M2Crypto completely 2015-01-12 14:11:33 +08:00
clowwindy e582b2b929 rename ctypes_* and remove salsa20-ctr 2015-01-12 14:05:20 +08:00
clowwindy 163992b98b small fix 2014-12-12 00:04:17 +08:00
clowwindy 676bf9617b fix key cache when just method changes 2014-12-11 23:45:39 +08:00
clowwindy cbbc880f44 try to find the problem 2014-12-11 23:22:48 +08:00
clowwindy 3e503bf677 log method in encrypt unit test 2014-12-11 22:43:46 +08:00
clowwindy 1459282ae6 only test some ciphers 2014-12-11 18:02:57 +08:00
clowwindy 4d5d6c7c85 add unit tests in encrypt 2014-12-11 17:47:12 +08:00
clowwindy e6416562fc add salsa20 and chacha20 2014-12-10 23:19:11 +08:00
clowwindy 710fe14190 rename test_cipher as it will break unit tests 2014-11-05 18:32:01 +08:00
clowwindy 039451bcfb fix encrypt_all 2014-11-05 18:30:18 +08:00
clowwindy cbf8c6705b refactor table into a single cipher plugin 2014-11-05 18:27:18 +08:00
Felix Yan aca86f8685 encrypt.py: port table to support python 3 2014-11-05 16:54:51 +08:00
clowwindy a502dd32fc fix UDP 2014-10-31 21:49:22 +08:00
clowwindy 497524b313 drop table on Python 3 2014-10-31 19:08:00 +08:00
clowwindy 0fd2f30911 lint code 2014-10-31 18:43:15 +08:00
clowwindy 2a53b67c65 python 3 support; not stable yet 2014-10-31 18:28:22 +08:00
clowwindy 0814888ba5 use absolute import 2014-10-31 16:29:19 +08:00
clowwindy eb9b6f0a9b does not require M2Crypto anymore 2014-10-08 21:03:01 +08:00
clowwindy 2122f96aeb lint code 2014-09-16 11:03:36 +08:00
clowwindy 76fed23b34 refactor encrypt; add cfb1 and cfb8 modes 2014-09-16 10:58:45 +08:00
clowwindy 1044358a6b use md5 instead of sha256; #178 2014-09-09 16:17:33 +08:00
clowwindy c9b489b5e3 fix UDP 2014-09-09 14:43:32 +08:00
clowwindy 1b4e885818 add rc4-sha256; close #178 2014-09-09 14:26:34 +08:00
clowwindy 972bf22e6d fix PEP8 2014-08-27 00:17:26 +08:00
clowwindy c66d9b2c20 more details 2014-07-12 17:48:33 +08:00
clowwindy e7e226768a add instructions for installing m2crypto 2014-07-12 17:45:56 +08:00
clowwindy a1bc23c161 fix salsa20 2014-07-11 18:48:57 +08:00
clowwindy 2950f99da6 fix salsa20 for UDP 2014-07-11 18:46:26 +08:00
clowwindy 9422ef2fd3 Fix table encryption with UDP 2014-06-11 19:21:17 +08:00
clowwindy 3cefe374c2 socket.SO_REUSEADDR 2014-06-01 14:53:06 +08:00
clowwindy fd4efca0fe add test 2014-05-03 23:04:49 +08:00
clowwindy ed39505dc1 experimental salsa20-ctr cipher; close #108 2014-05-03 22:42:40 +08:00
clowwindy 041c315f86 fix encrypt 2014-04-23 22:31:55 +08:00
clowwindy 1239f928f1 lint code 2014-04-23 19:38:18 +08:00
clowwindy e5149d0ed9 impl 2014-04-23 17:57:09 +08:00