2 references to Encrypt
System.Security.Cryptography.Pkcs (2)
System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (2)
58
byte[] encrypted = safeContents.
Encrypt
(ReadOnlySpan<char>.Empty, passwordBytes, pbeParameters);
108
byte[] encrypted = safeContents.
Encrypt
(password, ReadOnlySpan<byte>.Empty, pbeParameters);