55 references to ComputeHash
mscorlib (10)
system\security\cryptography\dsacryptoserviceprovider.cs (2)
249byte[] hashVal = _sha1.ComputeHash(buffer); 259byte[] hashVal = _sha1.ComputeHash(rgbData);
system\security\cryptography\hmac.cs (1)
81KeyValue = m_hash1.ComputeHash(key);
system\security\cryptography\passwordderivebytes.cs (1)
254_hash.ComputeHash(_baseValue);
system\security\cryptography\rsacryptoserviceprovider.cs (2)
321byte[] hashVal = hash.ComputeHash(buffer); 335byte[] hashVal = hash.ComputeHash(buffer);
system\security\cryptography\utils.cs (2)
813hash.ComputeHash(EmptyArray<Byte>.Value); // Use an empty octet string 903hash.ComputeHash(EmptyArray<Byte>.Value);
system\security\cryptography\x509certificates\x509certificate.cs (1)
351return hash.ComputeHash(rawData);
system\security\policy\hash.cs (1)
338return hash.ComputeHash(assemblyBytes);
System (4)
net\System\Net\_DigestClient.cs (3)
1222byte[] hash = MD5provider.ComputeHash(formattedData); 1233byte[] hash = MD5provider.ComputeHash(encodedBytes); 1269byte[] hash = digestChallenge.MD5provider.ComputeHash(Encoding.ASCII.GetBytes(hashMe));
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
207retVal = Convert.ToBase64String(sha1.ComputeHash(toHash));
System.AddIn (1)
System\Addin\MiniReflection\MetadataReader\AssemblyInfo.cs (1)
73byte[] Hashed = Hasher.ComputeHash(m_PublicKey);
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (2)
37byte[] computedHash = hmac.ComputeHash(plainText); 53byte[] hashValue = sha256.ComputeHash(input);
System.Data.Entity (1)
System\Data\Metadata\Edm\EntityType.cs (1)
308.ComputeHash(Encoding.ASCII.GetBytes(BuildEntityTypeDescription()));
System.IdentityModel (12)
System\IdentityModel\CryptoHelper.cs (3)
123a = kha.ComputeHash( a ); 129result = kha.ComputeHash( b ); 576return hasher.ComputeHash(buffer);
System\IdentityModel\Psha1DerivedKeyGenerator.cs (2)
101this.aValue = hmac.ComputeHash(this.aValue); 106this.chunk = hmac.ComputeHash(buffer);
System\IdentityModel\RsaEncryptionCookieTransform.cs (2)
207byte[] hashedKey = hash.ComputeHash(Encoding.UTF8.GetBytes(key.ToXmlString(false))); 286rsaHash = hash.ComputeHash(Encoding.UTF8.GetBytes(encryptionKey.ToXmlString(false)));
System\IdentityModel\RsaSignatureCookieTransform.cs (2)
192hash.ComputeHash(cookieValue); 267hash.ComputeHash(value);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
1685key = Convert.ToBase64String(hashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(stringBuilder.ToString())));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
825key = Convert.ToBase64String(hashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(stringBuilder.ToString())));
System\ServiceModel\Security\Tokens\WrappedKeySecurityToken.cs (1)
180this.wrappedKeyHash = hash.ComputeHash(this.encryptedKey.GetWrappedKey());
System.Security (2)
system\security\cryptography\xml\symmetrickeywrap.cs (2)
38byte[] rgbCKS = sha.ComputeHash(rgbWrappedKeyData); 91byte[] rgbCKS = sha.ComputeHash(rgbWrappedKeyData);
System.ServiceModel (6)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
693byte[] digestBytes = this.HashAlgorithm.ComputeHash(inputBytes);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (2)
62pwdHash = sha.ComputeHash(pwdBytes); 67returnValue = algo.ComputeHash(tempBuffer);
System\ServiceModel\Channels\PipeConnection.cs (1)
2814hashedBytes = hash.ComputeHash(canonicalBytes);
System\ServiceModel\Channels\WebSocketHelper.cs (1)
56return Convert.ToBase64String(sha.ComputeHash(bytes));
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
132return hmac.ComputeHash(Encoding.Unicode.GetBytes(password));
System.Web (9)
Configuration\MachineKeySection.cs (3)
1140byte [] bHash = alg.ComputeHash(buf); 1223return hashAlgo.ComputeHash(bAll); 1245return hashAlgo.ComputeHash(bAll);
Security\Cryptography\CryptoUtil.cs (1)
116byte[] hashed = sha256.ComputeHash(buffer);
Security\Cryptography\SP800_108.cs (1)
97byte[] K_i = hmac.ComputeHash(buffer);
Security\FormsAuthentication.cs (1)
76return CryptoUtil.BinaryToHex(hashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(password)));
Security\SQLMembershipProvider.cs (2)
1929bRet = kha.ComputeHash(bIn); 1935bRet = hm.ComputeHash(bAll);
UI\EventValidationStore.cs (1)
115fullHash = hashAlgorithm.ComputeHash(bufferToBeHashed);
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
1473return sha.ComputeHash(data);
System.Web.Extensions (1)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
562buffer = s.ComputeHash(bufAll);
System.Web.Services (1)
System\Web\Services\Protocols\LogicalMethodInfo.cs (1)
558byte[] bytes = HashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(key));
System.Windows.Forms (1)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
939sigHash = hasher.ComputeHash(base64DecodedSignatureValue);
System.Workflow.Runtime (4)
Tracking.cs (3)
1859result = md5.ComputeHash(data); 1885result = md5.ComputeHash(data); 1891result = sha256Provider.ComputeHash(data);
WorkflowDefinitionDispenser.cs (1)
163byte[] xomlHashCode256 = sha256Provider.ComputeHash(xomlBytesStream.GetBuffer());