@jedisct1 In libsodium docs, the AEAD page implies ChaCha20-Poly1305 is unsafe with random nonces, yet that's what all the examples are. :-(
Hi Ryan. What examples are you referring to? secretbox() is what you need most of the time.
-
-
The crypto_secretbox_easy example here https://download.libsodium.org/doc/secret-key_cryptography/authenticated_encryption.html … uses a random nonce. Under the hood, that's ChaCha20-Poly1305, right?
-
Oh, no it does not. I just checked the source code. It's XSalsa20-Poly1305.
- 4 more replies
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.