AES-256-GCM is an authenticated encryption mode that encrypts data with a 256-bit AES key and produces a tag that detects tampering.
AES-256-GCM combines the Advanced Encryption Standard, specified in FIPS 197, with Galois/Counter Mode, specified in NIST SP 800-38D. AES is a block cipher, and GCM turns it into an authenticated encryption with associated data (AEAD) scheme: one operation encrypts the plaintext and computes an authentication tag over both the ciphertext and any extra data you want bound to it, such as a record identifier. On decryption the tag is checked first, and any change to the ciphertext or associated data causes a failure instead of garbled output. GCM is fast on hardware with AES instructions, which is nearly all modern phones and computers, and it is the common choice in TLS 1.3 and many storage systems. Its main hazard is the nonce: each key must never encrypt two messages with the same 96-bit nonce, because that breaks both confidentiality and authenticity. With random nonces this limits how many messages one key can safely protect, so designs rotate or derive keys per item. XChaCha20-Poly1305 offers a larger nonce that makes random generation safer. BotPassword's v1 design chooses XChaCha20-Poly1305 for its symmetric envelopes rather than AES-GCM, partly for that nonce margin.