Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/crypto/chacha20poly1305: request for xchacha20 variant #21447
The libsodium docs suggest this version as the recommended AEAD construction:
For reference, a Go implementation supporting XChaCha20 is available from:
I had looked at using nacl/secretbox, but we have a use for the "additional data" which it doesn't support.
This was done as part of #24485.