<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.1.26104.118" />

System.Security.Cryptography.PbeParameters

public sealed class PbeParameters
Represents parameters to be used for Password-Based Encryption (PBE).

Gets the algorithm to use when encrypting data.

Gets the name of the hash algorithm to use with the Key Derivation Function (KDF) to turn a password into an encryption key.

public int IterationCount { get; }

Gets the iteration count to provide to the Key Derivation Function (KDF) to turn a password into an encryption key.

public PbeParameters(PbeEncryptionAlgorithm encryptionAlgorithm, HashAlgorithmName hashAlgorithm, int iterationCount)

Initializes a new instance of the PbeParameters class.