mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-30 23:06:20 +00:00
Update OptionSettingViewModel.cs
将Desutils替换为Aesutils,提升安全性。
This commit is contained in:
parent
ca38239bce
commit
7476cceda3
1 changed files with 2 additions and 2 deletions
|
@ -347,7 +347,7 @@ namespace ServiceLib.ViewModels
|
||||||
_config.TunModeItem.EnableIPv6Address = TunEnableIPv6Address;
|
_config.TunModeItem.EnableIPv6Address = TunEnableIPv6Address;
|
||||||
if (TunLinuxSudoPassword != _config.TunModeItem.LinuxSudoPwd)
|
if (TunLinuxSudoPassword != _config.TunModeItem.LinuxSudoPwd)
|
||||||
{
|
{
|
||||||
_config.TunModeItem.LinuxSudoPwd = DesUtils.Encrypt(TunLinuxSudoPassword);
|
_config.TunModeItem.LinuxSudoPwd = AesUtils.Encrypt(TunLinuxSudoPassword);
|
||||||
}
|
}
|
||||||
|
|
||||||
//coreType
|
//coreType
|
||||||
|
|
Loading…
Reference in a new issue