1 write to _hash
System.Security.Cryptography (1)
System\Security\Cryptography\PasswordDeriveBytes.cs (1)
80
_hash
= (HashAlgorithm?)CryptoConfig.CreateFromName(_hashName);
17 references to _hash
System.Security.Cryptography (17)
System\Security\Cryptography\PasswordDeriveBytes.cs (17)
175
_hash
?.Dispose();
201
Debug.Assert(
_hash
!= null);
202
_hash
.Initialize();
203
_hash
.TransformBlock(_password, 0, _password.Length, _password, 0);
207
_hash
.TransformBlock(_salt, 0, _salt.Length, _salt, 0);
210
_hash
.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
211
_baseValue =
_hash
.Hash;
212
_hash
.Initialize();
216
_hash
.ComputeHash(_baseValue!);
217
_baseValue =
_hash
.Hash;
229
_hash
!.Initialize();
230
cbHash =
_hash
.HashSize / 8;
233
using (CryptoStream cs = new CryptoStream(Stream.Null,
_hash
, CryptoStreamMode.Write))
240
Buffer.BlockCopy(
_hash
.Hash!, 0, rgb, ib, cbHash);
245
_hash
.Initialize();
246
using (CryptoStream cs = new CryptoStream(Stream.Null,
_hash
, CryptoStreamMode.Write))
253
Buffer.BlockCopy(
_hash
.Hash!, 0, rgb, ib, cbHash);