-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Consider more algorithms: ascon, aegis, eme, rijndael-256 #12
Comments
➕ 💯 for AESKW that would allow me to greatly simplify the dependencies in several projects I maintain, where I have to use a very heavy isomorphic-webcrypto otherwise |
@mirceanis AESKW is done. |
I would like AEGIS. There is a JavaScript implementation, but it's only AEGIS-128L and is not very good. |
@alterstep any chance you'll be able to describe what are you using it for? |
Yes, I use libsodium on the server because AEGIS is very fast. On the client side, I could use libsodium-js, but it's very large, and I don't need its full functionality. Noble-ciphers would be perfect. |
Yes, but why do you need something "very fast"? Why can't AES work for you? |
256-bit nonces too. |
Why AEGIS instead of XChacha20-poly1305? |
sodium AEGIS-256 is more than 5 times faster than XChaCha |
Interesting, ok. The question is, however, do you actually need this speed? Is the speed of algorithms a bottleneck in your application? |
Ascon and AEGIS are both nice. And there is an Ascon-js version already available which could probably easily be implemented here. |
Keep in mind it's not just "implementing" - it's also continuously supporting and perhaps having 3rd party audits of the code. |
AEGIS has been implemented here: https://github.com/stknob/aegis-ts/tree/main |
It's unclear if any of these algorithms are actually worth implementing in noble.
Footnotes
https://csrc.nist.gov/News/2023/lightweight-cryptography-nist-selects-ascon ↩
https://doc.libsodium.org/secret-key_cryptography/aead/aegis-256 ↩
https://csrc.nist.gov/csrc/media/Presentations/2023/proposal-for-standardization-of-encryption-schemes/images-media/sess-4-mattsson-bcm-workshop-2023.pdf ↩ ↩2
The text was updated successfully, but these errors were encountered: