3 writes to _salt
System.Security.Cryptography (3)
System\Security\Cryptography\Rfc2898DeriveBytes.cs (3)
82
_salt
= new byte[saltSize + sizeof(uint)];
112
_salt
= new byte[salt.Length + sizeof(uint)];
147
_salt
= new byte[value.Length + sizeof(uint)];
10 references to _salt
System.Security.Cryptography (10)
System\Security\Cryptography\Rfc2898DeriveBytes.cs (10)
83
RandomNumberGenerator.Fill(
_salt
.AsSpan(0, saltSize));
113
salt.CopyTo(
_salt
);
141
return
_salt
.AsSpan(0,
_salt
.Length - sizeof(uint)).ToArray();
148
value.AsSpan().CopyTo(
_salt
);
165
if (
_salt
!= null)
166
Array.Clear(
_salt
);
286
BinaryPrimitives.WriteUInt32BigEndian(
_salt
.AsSpan(
_salt
.Length - sizeof(uint)), _block + 1);
295
_hmac.AppendData(
_salt
);