Exemple #1
0
        public static void SaveObfuscatedInfluxPassword(string pass)
        {
            var settings = Properties.Settings.Default;

            settings.InfluxPass = Base58Encoding.Encode(Encoding.UTF8.GetBytes(pass));
        }
Exemple #2
0
        public static string DecodeInfluxPassword()
        {
            var settings = Properties.Settings.Default;

            return(Encoding.UTF8.GetString(Base58Encoding.Decode(settings.InfluxPass)));
        }