From fb17132b0233453efa4394ac7f5f44819cc5fc1e Mon Sep 17 00:00:00 2001 From: Qiu Yuzhou Date: Wed, 22 Mar 2017 22:41:18 +0800 Subject: [PATCH] Update encrypt method list. --- .../PreferencesWindowController.swift | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ShadowsocksX-NG/PreferencesWindowController.swift b/ShadowsocksX-NG/PreferencesWindowController.swift index ebe4481..2bcff8d 100644 --- a/ShadowsocksX-NG/PreferencesWindowController.swift +++ b/ShadowsocksX-NG/PreferencesWindowController.swift @@ -51,24 +51,24 @@ class PreferencesWindowController: NSWindowController profileMgr = ServerProfileManager.instance methodTextField.addItems(withObjectValues: [ + "aes-128-gcm", + "aes-192-gcm", + "aes-256-gcm", "aes-128-cfb", "aes-192-cfb", "aes-256-cfb", - "des-cfb", - "bf-cfb", + "aes-128-ctr", + "aes-192-ctr", + "aes-256-ctr", "camellia-128-cfb", "camellia-192-cfb", "camellia-256-cfb", - "idea-cfb", - "cast5-cfb", - "rc2-cfb", - "rc4-md5", - "seed-cfb", + "bf-cfb", + "chacha20-ietf-poly1305", + "salsa20", "chacha20", "chacha20-ietf", - "salsa20", - "rc4", - "table", + "rc4-md5", ]) kcptunCryptComboBox.addItems(withObjectValues: [