Open paulmillr opened 1 year ago
➕ 💯 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?
@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?
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.