1 write to _sha1
mscorlib (1)
system\security\cryptography\dsacryptoserviceprovider.cs (1)
78
_sha1
= new SHA1CryptoServiceProvider();
10 references to _sha1
mscorlib (10)
system\security\cryptography\dsacryptoserviceprovider.cs (10)
244
byte[] hashVal =
_sha1
.ComputeHash(inputStream);
249
byte[] hashVal =
_sha1
.ComputeHash(buffer);
254
byte[] hashVal =
_sha1
.ComputeHash(buffer, offset, count);
259
byte[] hashVal =
_sha1
.ComputeHash(rgbData);
284
return
_sha1
.ComputeHash(data, offset, count);
298
return
_sha1
.ComputeHash(data);
310
if (rgbHash.Length !=
_sha1
.HashSize / 8)
311
throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidHashSize", "SHA1",
_sha1
.HashSize / 8));
332
if (rgbHash.Length !=
_sha1
.HashSize / 8)
333
throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidHashSize", "SHA1",
_sha1
.HashSize / 8));