Git Product home page Git Product logo

Comments (8)

nekolab avatar nekolab commented on July 20, 2024

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

from shadowsocks-chromeapp.

Jason110go avatar Jason110go commented on July 20, 2024

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

from shadowsocks-chromeapp.

nekolab avatar nekolab commented on July 20, 2024

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

from shadowsocks-chromeapp.

librehat avatar librehat commented on July 20, 2024

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

from shadowsocks-chromeapp.

nekolab avatar nekolab commented on July 20, 2024

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

from shadowsocks-chromeapp.

librehat avatar librehat commented on July 20, 2024

@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.

from shadowsocks-chromeapp.

wongsyrone avatar wongsyrone commented on July 20, 2024

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

from shadowsocks-chromeapp.

nekolab avatar nekolab commented on July 20, 2024

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

from shadowsocks-chromeapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.