2 writes to Salt
System.Security.Cryptography (2)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (2)
80
decoded.
Salt
= rebindSpan.Overlaps(tmpSpan, out offset) ? rebind.Slice(offset, tmpSpan.Length) : tmpSpan.ToArray();
84
decoded.
Salt
= sequenceReader.ReadOctetString();
4 references to Salt
System.Security.Cryptography (4)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (1)
26
writer.WriteOctetString(
Salt
.Span);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
821
if (pbeParameters.
Salt
.Length != 8)
838
Pbkdf1(hasher, password, pbeParameters.
Salt
.Span, iterationCount, dk);
887
ReadOnlySpan<byte> saltSpan = pbeParameters.
Salt
.Span;