You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2021/12/16 19:15:00 UTC

[jira] [Created] (SPARK-37666) Set `GCM` as the default mode in `aes_encrypt()`/`aes_decrypt()`

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org