XChaCha20-Poly1305 is an authenticated cipher with a 256-bit key and 192-bit nonce, large enough that random nonces are safe in practice.
XChaCha20-Poly1305 extends ChaCha20-Poly1305, the AEAD construction standardised in RFC 8439. ChaCha20 is a stream cipher designed by Daniel J. Bernstein and Poly1305 is a one-time authenticator; together they encrypt data and attach a tag that detects any modification. The original construction uses a 96-bit nonce, so encrypting many messages under one key with random nonces risks a collision. XChaCha20 solves this by running a subkey derivation, HChaCha20, on the first 128 bits of a 192-bit nonce, then using the remainder as an ordinary ChaCha20 nonce. With 192 random bits, the chance of a repeated nonce is negligible for any realistic volume. It is described in an IRTF CFRG draft and implemented in libsodium and many Rust and Go libraries. Like other ChaCha-based ciphers it is fast in software and has no table lookups, so it avoids the cache-timing issues that affected older AES implementations, and it performs well on devices without AES hardware. For a vault that stores many records encrypted under a long-lived key, random-nonce safety is a practical advantage. BotPassword uses XChaCha20-Poly1305 with 256-bit keys and random 192-bit nonces for symmetric envelopes.