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