Mono Class Library: System.Security.Cryptography.PasswordDeriveBytes Overview | MembersSystem.Security.Cryptography.PasswordDeriveBytes.IterationCount Property |
The number of iterations done by the algorithm before returning any bytes. [Edit]
|
The current iteration count. [Edit]
This value can be ajusted to a balance so deriving a single key from a password is relatively fast (normal use) but very slow to use multiple times (e.g. attackers using a dictionary or a brute force attack). This makes the derivation algorithm stays "current" with newer and faster computer.
Interoperability warning: The default iteration count is 1 to be compatible with Microsoft implementation. However this value is too low to be secure. Many other implementations use 1000 or 1024.
[Edit]
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0