update ss ciphers

This commit is contained in:
233boy
2021-04-22 17:40:09 +08:00
parent 644ea3eb37
commit bf04951379
2 changed files with 9 additions and 17 deletions

View File

@@ -114,10 +114,6 @@ transport=(
)
ciphers=(
aes-128-cfb
aes-256-cfb
chacha20
chacha20-ietf
aes-128-gcm
aes-256-gcm
chacha20-ietf-poly1305
@@ -654,10 +650,10 @@ shadowsocks_ciphers_config() {
echo -e "$yellow $i. $none${ciphers_show}"
done
echo
read -p "$(echo -e "(默认加密协议: ${cyan}${ciphers[6]}$none)"):" ssciphers_opt
[ -z "$ssciphers_opt" ] && ssciphers_opt=7
read -p "$(echo -e "(默认加密协议: ${cyan}${ciphers[1]}$none)"):" ssciphers_opt
[ -z "$ssciphers_opt" ] && ssciphers_opt=2
case $ssciphers_opt in
[1-7])
[1-3])
ssciphers=${ciphers[$ssciphers_opt - 1]}
echo
echo