PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PbeParameters class.
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)
Parameters
- encryptionAlgorithm
- PbeEncryptionAlgorithm
The algorithm to use when encrypting data.
- hashAlgorithm
- HashAlgorithmName
The name of a hash algorithm to use with the Key Derivation Function (KDF) to turn a password into an encryption key.
- iterationCount
- Int32
The iteration count to provide to the Key Derivation Function (KDF) to turn a password into an encryption key.
Exceptions
iterationCount
is less than 1.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.