Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16521#discussion_r97185042
  
    --- Diff: 
common/network-common/src/main/java/org/apache/spark/network/util/TransportConf.java
 ---
    @@ -162,40 +163,95 @@ public int portMaxRetries() {
       }
     
       /**
    -   * Maximum number of bytes to be encrypted at a time when SASL 
encryption is enabled.
    +   * Enables strong encryption. Also enables the new auth protocol, used 
to negotiate keys.
        */
    -  public int maxSaslEncryptedBlockSize() {
    -    return Ints.checkedCast(JavaUtils.byteStringAsBytes(
    -      conf.get("spark.network.sasl.maxEncryptedBlockSize", "64k")));
    +  public boolean aesEncryptionEnabled() {
    --- End diff --
    
    nit: rename this method to a general name?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to