3 ms·
Well, NaCl (DJB's encryption library) uses XChaCha20, doesn't it? Edit: Nope, it's XSalsa20.
by marcosdumay 10y ago
Well, NaCl (DJB's encryption library) uses XChaCha20, doesn't it?
Edit: Nope, it's XSalsa20.
- panic 10y agoNaCl provides Salsa20 and XSalsa20 (https://nacl.cr.yp.to/stream.html https://nacl.cr.yp.to/stream.html). libsodium adds ChaCha20 (https://download.libsodium.org/doc/advanced/chacha20.html https://download.libsodium.org/doc/advanced/chacha20.html) but not XChaCha20.
- CiPHPerCoder 10y agoThat's coming soon: https://github.com/jedisct1/libsodium/blob/master/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c https://github.com/jedisct1/libsodium/blob/master/src/libsod...
- asdaksdhksajd 10y agough, an extra ietf variant that pads the remaining 64-bit from the nonce to fit 96 bit thats incompatible with all the implementations out there... :-( why can't we get our shit together...
- JoachimS 10y agoNaCl supports several secret key encryption algorithms: http://nacl.cr.yp.to/stream.html http://nacl.cr.yp.to/stream.html aes-128 in counter mode, Salsa20 with 8, 12 and 20 rounds and XSalsa with 20 rounds. Som other implementations of NaCl/Sodium have restricted the different algs. TweekNaCl only supports XSalsa20 and Salsa20.