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