@Override
  public byte[] decryptBytes(byte[] data) throws Exception {
    if (appSecureMode == CREDENTIALS_DHENCRYPT) {
      String algo = null;
      if (clientSKAlgo != null) {
        algo = clientSKAlgo;
      } else {
        algo = dhSKAlgo;
      }
      Cipher c = getDecryptCipher(algo, clientPublicKey);
      return decryptBytes(data, c);
    } else {
      return data;
    }
  }
Initialize the Diffie-Hellman keys. This method is not thread safe
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/EncryptorImpl.java