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(); 201Debug.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(); 230cbHash = _hash.HashSize / 8; 233using (CryptoStream cs = new CryptoStream(Stream.Null, _hash, CryptoStreamMode.Write)) 240Buffer.BlockCopy(_hash.Hash!, 0, rgb, ib, cbHash); 245_hash.Initialize(); 246using (CryptoStream cs = new CryptoStream(Stream.Null, _hash, CryptoStreamMode.Write)) 253Buffer.BlockCopy(_hash.Hash!, 0, rgb, ib, cbHash);