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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.