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: [