public static void DecryptFiles()
 {
     PortfolioService.ToggleEncryption();
     UserConfigService.EncryptionCheck = string.Empty;
     UserConfigService.Encrypted       = false;
     AlertService.Save();
 }
        public static void EncryptFiles(string password)
        {
            _password = password;

            PortfolioService.ToggleEncryption();
            UserConfigService.EncryptionCheck = AesEncryptString(CHECKVALUE);
            UserConfigService.Encrypted       = true;
            AlertService.Save();
        }
Exemple #3
0
 public static void Reset()
 {
     UserConfigService.Delete();
     AlertService.Delete();
     PortfolioService.DeleteAll();
 }