private string DecryptString(string value) { if (string.IsNullOrWhiteSpace(value)) { return(value); } var key = _registryHelper.GetValue <string>(EncryptionKeyRegistrySubKey, EncryptionKeyName); return(EncryptionService.AesDecryptString(key, value)); }