Bestoa / shadowsocks-vertx

Java port of shadowsocks with vertx.
Apache License 2.0
27 stars 23 forks source link

ChaCha20 is broken! #38

Closed linkerlin closed 8 years ago

linkerlin commented 8 years ago

cipher = (StreamBlockCipher)mDecryptCipher; A ChaChaEngine is not a StreamBlockCipher.

Bestoa commented 8 years ago

This logic is existed on AESCrypto. Chacha20 works well on my side.