@jedisct1 out of curiosity, why is the crypto_securebox using XSalsa20 instead of Chacha20/XChacha20? https://download.libsodium.org/doc/secret-key_cryptography/authenticated_encryption.html …
Its author keeps recommending it over ChaCha. From a performance and security perspective, they are comparable.
-
-
provided that I implement the crypto_scalarmult() correctly and derive the secret key "manually" for the crypto_aead_chacha20poly1305
-
Don’t use crypto_scalarmult(). Use crypto_kx().
- 1 more reply
New conversation -
-
-
so if I have an app implementing a protocol using crypto_aead_chacha20poly1305 and another using crypto_boxsecure they should work?
-
Sure, there’s nothing wrong with that.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.