3 writes to _salt
System.Security.Cryptography (3)
System\Security\Cryptography\Rfc2898DeriveBytes.cs (3)
85
_salt
= new byte[saltSize + sizeof(uint)];
115
_salt
= new byte[salt.Length + sizeof(uint)];
150
_salt
= new byte[value.Length + sizeof(uint)];
10 references to _salt
System.Security.Cryptography (10)
System\Security\Cryptography\Rfc2898DeriveBytes.cs (10)
86
RandomNumberGenerator.Fill(
_salt
.AsSpan(0, saltSize));
116
salt.CopyTo(
_salt
);
144
return
_salt
.AsSpan(0,
_salt
.Length - sizeof(uint)).ToArray();
151
value.AsSpan().CopyTo(
_salt
);
168
if (
_salt
!= null)
169
Array.Clear(
_salt
);
289
BinaryPrimitives.WriteUInt32BigEndian(
_salt
.AsSpan(
_salt
.Length - sizeof(uint)), _block + 1);
298
_hmac.AppendData(
_salt
);