public static void SaveObfuscatedInfluxPassword(string pass) { var settings = Properties.Settings.Default; settings.InfluxPass = Base58Encoding.Encode(Encoding.UTF8.GetBytes(pass)); }
public static string DecodeInfluxPassword() { var settings = Properties.Settings.Default; return(Encoding.UTF8.GetString(Base58Encoding.Decode(settings.InfluxPass))); }