Back to Devexpress

SpreadsheetProtectionOptions.UseStrongPasswordVerifier Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetprotectionoptions.md

latest2.3 KB
Original Source

SpreadsheetProtectionOptions.UseStrongPasswordVerifier Property

Gets or sets whether to use ISO password hashing algorithm to calculate a strong password verifier.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
[DefaultValue(true)]
public bool UseStrongPasswordVerifier { get; set; }
vb
<DefaultValue(True)>
Public Property UseStrongPasswordVerifier As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , to use ISO password hashing algorithm; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to UseStrongPasswordVerifier
DocumentOptions

.Protection .UseStrongPasswordVerifier

|

Remarks

The spreadsheet utilizes the ISO password hashing algorithm to calculate a strong password verifier that is used while protecting a document. MS Excel also utilizes this algorithm for protecting a document starting from MS Office Excel 2013.

The algorithm complexity depends on the SpreadsheetProtectionOptions.SpinCount value. By default, the SpinCount equals to 100 000 like in the MS Excel algorithm. To make the document protection faster, decrease the SpinCount value.

See Also

SpreadsheetProtectionOptions Class

SpreadsheetProtectionOptions Members

DevExpress.XtraSpreadsheet Namespace