System.Web.Configuration.MachineKeyConfig.GetDecryptionAlgorithm C# (CSharp) Method

GetDecryptionAlgorithm() private method

private GetDecryptionAlgorithm ( ) : SymmetricAlgorithm
return System.Security.Cryptography.SymmetricAlgorithm
		internal SymmetricAlgorithm GetDecryptionAlgorithm ()
		{
			string name;

			if (decryption_key_name == null || decryption_key_name.StartsWith ("AutoGenerate"))
				name = "Auto";
			else
				name = decryption_key_name;
			
			return MachineKeySectionUtils.GetDecryptionAlgorithm (name);
		}