1 write to _hash
mscorlib (1)
system\security\cryptography\passwordderivebytes.cs (1)
99
_hash
= (HashAlgorithm) CryptoConfig.CreateFromName(_hashName);
17 references to _hash
mscorlib (17)
system\security\cryptography\passwordderivebytes.cs (17)
190
if (
_hash
!= null) {
191
_hash
.Dispose();
245
_hash
.Initialize();
246
_hash
.TransformBlock(_password, 0, _password.Length, _password, 0);
248
_hash
.TransformBlock(_salt, 0, _salt.Length, _salt, 0);
249
_hash
.TransformFinalBlock(EmptyArray<Byte>.Value, 0, 0);
250
_baseValue =
_hash
.Hash;
251
_hash
.Initialize();
254
_hash
.ComputeHash(_baseValue);
255
_baseValue =
_hash
.Hash;
266
_hash
.Initialize();
267
cbHash =
_hash
.HashSize / 8;
270
using (CryptoStream cs = new CryptoStream(Stream.Null,
_hash
, CryptoStreamMode.Write)) {
276
Buffer.InternalBlockCopy(
_hash
.Hash, 0, rgb, ib, cbHash);
280
_hash
.Initialize();
281
using (CryptoStream cs = new CryptoStream(Stream.Null,
_hash
, CryptoStreamMode.Write)) {
287
Buffer.InternalBlockCopy(
_hash
.Hash, 0, rgb, ib, cbHash);