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

Apparently performances of libsodium.js appear to be better than argon2-browser #98

Open
evilaliv3 opened this issue Jan 17, 2025 · 1 comment

Comments

@evilaliv3
Copy link

Apparently performances of libsodium.js appear to be better than argon2-browser, even if both the two are wasm implementations.

@antelle @jedisct1 do you know the reasons?

At GlobaLeaks we look forward to use libsodium in the browser, but at the moment we have the requirement of just running argon2. For this reason we were hoping to run with argon2-browser to have smaller footprint but apparently 10x slower than the libsodium.js implementation.

Thank you if you could provide any hint.

For compatibility reasons we are not evaluating to use the SIMD implementation.

@msmannan00
Copy link

starting to analysis the cases, most probably if both are using wasm and are eventually doing same thing the performance difference should not be there, will review it out

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

No branches or pull requests

2 participants