PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av PbeParameters klassen.
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)
Parametrar
- encryptionAlgorithm
- PbeEncryptionAlgorithm
Algoritmen som ska användas vid kryptering av data.
- hashAlgorithm
- HashAlgorithmName
Namnet på en hash-algoritm som ska användas med KDF (Key Derivation Function) för att omvandla ett lösenord till en krypteringsnyckel.
- iterationCount
- Int32
Antalet iteration som ska anges till KDF (Key Derivation Function) för att omvandla ett lösenord till en krypteringsnyckel.
Undantag
iterationCount är mindre än 1.