Description
Change the default mode from ECB to GCM in AES functions: aes_encrypt() and aes_decrypt(). GCM is much more preferable because it is semantically secure. Also the mode is used the default one in other systems like Snowflake, see https://docs.snowflake.com/en/sql-reference/functions/encrypt.html
Attachments
Issue Links
- is caused by
-
SPARK-37591 Support the GCM mode by aes_encrypt()/aes_decrypt()
- Resolved
- is related to
-
SPARK-37858 Throw Spark exceptions from AES functions
- Resolved
- links to