YurtleTrack.Model.SettingsOriginator.DecryptFromBase64 C# (CSharp) Method

DecryptFromBase64() private method

private DecryptFromBase64 ( string encryptedValue ) : string
encryptedValue string
return string
        private string DecryptFromBase64(string encryptedValue)
        {
            if (String.IsNullOrEmpty(encryptedValue))
                throw new ArgumentNullException("value");

            return Encoding.UTF8.GetString(ProtectedData.Unprotect(Convert.FromBase64String(encryptedValue), _entropy, DataProtectionScope.LocalMachine));
        }