tarcieri opened this issue 10 years ago · 2 comments
libsodium 0.6.0 added a ChaCha20+Poly1305 AEAD construction. This should be exposed via RbNaCl:
https://github.com/jedisct1/libsodium/blob/master/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h
There's now also a version with an extended 96-bit nonce as of libsodium 1.0.4:
crypto_aead_chacha20poly1305_ietf_*
Added in #141