4 references to EncryptOrDecryptData
System.Web (4)
Security\CookieProtection.cs (2)
55buf = MachineKeySection.EncryptOrDecryptData (true, buf, null, 0, count); 84buf = MachineKeySection.EncryptOrDecryptData (false, buf, null, 0, buf.Length);
UI\ObjectStateFormatter.cs (2)
390inputBytes = MachineKeySection.EncryptOrDecryptData(false, inputBytes, GetMacKeyModifier(), 0, length); 795buffer = MachineKeySection.EncryptOrDecryptData(true, buffer, GetMacKeyModifier(), 0, length);