Max Gekk created SPARK-37666:
--------------------------------

             Summary: Set `GCM` as the default mode in 
`aes_encrypt()`/`aes_decrypt()`
                 Key: SPARK-37666
                 URL: https://issues.apache.org/jira/browse/SPARK-37666
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: Max Gekk
            Assignee: Max Gekk


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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to