16 references to CryptoUtil
System.Web (16)
Configuration\MachineKeySection.cs (2)
617if (!CryptoUtil.BuffersAreEqual(bData, bData.Length - modifier.Length, modifier.Length, modifier, 0, modifier.Length)) { 1281return CryptoUtil.BuffersAreEqual(bMac, 0, _HashSize, bufHashed, lastPos, _HashSize);
HttpCachePolicy.cs (1)
746_etag = Convert.ToBase64String(CryptoUtil.ComputeSHA256Hash(Encoding.UTF8.GetBytes(sb.ToString())));
OutputCacheModule.cs (1)
280value = Convert.ToBase64String(CryptoUtil.ComputeSHA256Hash(buf));
Security\Cryptography\MachineKeyMasterKeyProvider.cs (1)
88byte[] keyMaterial = CryptoUtil.HexToBinary(configAttributeValue);
Security\Cryptography\NetFXCryptoService.cs (2)
61encryptionAlgorithm.IV = CryptoUtil.CreatePredictableIV(clearData, encryptionAlgorithm.BlockSize); 149if (!CryptoUtil.BuffersAreEqual(
Security\Cryptography\Purpose.cs (2)
145_derivedKeyLabel = CryptoUtil.SecureUTF8Encoding.GetBytes(PrimaryPurpose); 153using (BinaryWriter writer = new BinaryWriter(stream, CryptoUtil.SecureUTF8Encoding)) {
Security\FormsAuthentication.cs (3)
76return CryptoUtil.BinaryToHex(hashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(password))); 143bBlob = CryptoUtil.HexToBinary(encryptedTicket); 289return CryptoUtil.BinaryToHex(bBlob);
Security\MachineKey.cs (2)
56return CryptoUtil.BinaryToHex(data); 73data = CryptoUtil.HexToBinary(encodedData);
State\OutOfProcStateClientManager.cs (1)
108string idHash = Convert.ToBase64String(CryptoUtil.ComputeSHA256Hash(Encoding.UTF8.GetBytes(appId)));
Util\HashCodeCombiner.cs (1)
140byte[] fileContentHashBytes = CryptoUtil.ComputeSHA256Hash(fileContentBytes);