AES_ENCRYPT (Lakehouse v2)
AES 暗号化を使用して値を暗号化します。
Analyzeの構文
Section titled “Analyzeの構文”func.aes_encrypt(<str>, <key>)Analyzeの例
Section titled “Analyzeの例”func.aes_encrypt('hello', 'secret_key')
┌──────────┐│ (binary) │└──────────┘SQLの構文
Section titled “SQLの構文”AES_ENCRYPT(<str>, <key>)SELECT HEX(AES_ENCRYPT('hello', 'secret_key'));
┌──────────┐│ A7B4C... │└──────────┘