Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ChaCha20 Support #14

Open
librehat opened this issue Dec 5, 2015 · 8 comments
Open

Add ChaCha20 Support #14

librehat opened this issue Dec 5, 2015 · 8 comments

Comments

@librehat
Copy link
Contributor

librehat commented Dec 5, 2015

chacha20.js can be helpful.

I may contribute to this project once my laptop arrives

@nekolab
Copy link
Collaborator

nekolab commented Dec 5, 2015

Thanks~
I'll take a look later and PR is welcomed~

@Jason110go
Copy link

Hey,how's it going? Sounds like you really made a great move!

@nekolab
Copy link
Collaborator

nekolab commented Mar 3, 2016

Sorry, currently I have no time to work on this : (
Since I'm planning to use native client engine replace js engine, so this issue may have lower priority
As always, if you want to give some help, pull request is welcome

@librehat
Copy link
Contributor Author

I tried to use chacha20.js but couldn't make it work. ;( You might wish to check my WIP commit: https://github.com/librehat/shadowsocks-chromeapp/commit/e53c3015edf933e574d4766cd6c8acd1cfef3924

@nekolab
Copy link
Collaborator

nekolab commented Mar 11, 2016

@librehat Maybe we need to set a padding to create a block and set a counter like the implementation in C version?

@librehat
Copy link
Contributor Author

@meowlab I don't think we need to set the counter ourselves (if I understand it correctly from libsodium). As for padding, do we need to create a block? Chacha20 is a stream cipher.

@wongsyrone
Copy link

Will https://github.com/jedisct1/libsodium.js help?

@nekolab
Copy link
Collaborator

nekolab commented Jul 22, 2016

@wongsyrone I don't think so, it seems doesn't contains chacha20 and salsa20 cipher support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants