Пример #1
0
 protected override string EncryptPassword(string decrypted)
 {
     return(SettingsUtil.EncryptPassword(decrypted, _key));
 }
Пример #2
0
            private static byte[] _key = "303d1c9608d4323edccaa207ceb15bfe66603b5e361e0450fd5e38a0fc629c7a".FromHex(); // exactly 32 bytes

            protected override string DecryptPassword(string encrypted)
            {
                return(SettingsUtil.DecryptPassword(encrypted, _key));
            }