What problem does it solve? Writing SQL that encrypts, hashes, or compresses data in MariaDB is error-prone: AES_ENCRYPT defaults to deterministic ECB mode, binary results get mangled in TEXT columns, and functions like DES_ENCRYPT were removed in MariaDB 13.0. This Skill provides a version-aware reference so generated SQL avoids these pitfalls. ## Core Features & Use Cases - Complete function catalog: Signatures and one-line semantics for all 17 built-in encryption, hashing, and compression functions, from AES_ENCRYPT/AES_DECRYPT to KDF, RANDOM_BYTES, SHA2, and COMPRESS/UNCOMPRESS. - Common mistake corrections: A table of LLM pitfalls, such as assuming AES_ENCRYPT uses a random IV by default, storing binary output in VARCHAR, or treating PASSWORD(NULL) as NULL-propagating. - Version gating: Annotations marking functions available only since specific releases (RANDOM_BYTES since 10.10, KDF since 11.3, IV/mode args since 11.2) and removals in 13.0. - Use Case: When asked to write a query that encrypts a column, the Skill guides you to use AES_ENCRYPT with an explicit IV from RANDOM_BYTES(16) and mode 'aes-256-cbc', storing the result in a VARBINARY column. ## Quick Start Write a MariaDB query that encrypts user email addresses with AES-256-CBC and stores the result safely.