PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) Конструктор

Определение

Инициализирует новый экземпляр класса PbeParameters.

public:
 PbeParameters(System::Security::Cryptography::PbeEncryptionAlgorithm encryptionAlgorithm, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, int iterationCount);
public PbeParameters(System.Security.Cryptography.PbeEncryptionAlgorithm encryptionAlgorithm, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount);
new System.Security.Cryptography.PbeParameters : System.Security.Cryptography.PbeEncryptionAlgorithm * System.Security.Cryptography.HashAlgorithmName * int -> System.Security.Cryptography.PbeParameters
Public Sub New (encryptionAlgorithm As PbeEncryptionAlgorithm, hashAlgorithm As HashAlgorithmName, iterationCount As Integer)

Параметры

encryptionAlgorithm
PbeEncryptionAlgorithm

Алгоритм, используемый при шифровании данных.

hashAlgorithm
HashAlgorithmName

Имя хэш-алгоритма, используемого с функцией извлечения ключей (KDF), чтобы превратить пароль в ключ шифрования.

iterationCount
Int32

Число итерации, предоставляемое функции извлечения ключей (KDF), чтобы преобразовать пароль в ключ шифрования.

Исключения

iterationCount меньше 1.

Применяется к