Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PbeParameters.cs
Go to the documentation of this file.
2
3public sealed class PbeParameters
4{
6
8
9 public int IterationCount { get; }
10
11 public PbeParameters(PbeEncryptionAlgorithm encryptionAlgorithm, HashAlgorithmName hashAlgorithm, int iterationCount)
12 {
13 if (iterationCount < 1)
14 {
15 throw new ArgumentOutOfRangeException("iterationCount", iterationCount, System.SR.ArgumentOutOfRange_NeedPosNum);
16 }
17 EncryptionAlgorithm = encryptionAlgorithm;
18 HashAlgorithm = hashAlgorithm;
19 IterationCount = iterationCount;
20 }
21}
static string ArgumentOutOfRange_NeedPosNum
Definition SR.cs:20
Definition SR.cs:7
PbeParameters(PbeEncryptionAlgorithm encryptionAlgorithm, HashAlgorithmName hashAlgorithm, int iterationCount)