Property SpinCount
- Namespace
- DocWright.Cryptography
- Assembly
- DocWright.Cryptography.dll
SpinCount
Gets or sets the key-derivation iteration count. Defaults to 100,000, which is what Word writes.
Raising it slows an offline guessing attack and slows every legitimate open by the same factor. Values above MaxKeyDerivationSpinCount produce a file DocWright will refuse to read back under default limits.
public int SpinCount { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
The value is negative.